| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | DumpAST.cpp | 166 std::string getKind(const CXXCtorInitializer *CCI) { in getKind() argument 167 if (CCI->isBaseInitializer()) in getKind() 169 if (CCI->isDelegatingInitializer()) in getKind() 171 if (CCI->isAnyMemberInitializer()) in getKind() 284 std::string getDetail(const CXXCtorInitializer *CCI) { in getDetail() argument 285 if (FieldDecl *FD = CCI->getAnyMember()) in getDetail() 287 if (TypeLoc TL = CCI->getBaseClassLoc()) in getDetail() 359 bool TraverseConstructorInitializer(CXXCtorInitializer *CCI) { in TraverseConstructorInitializer() argument 360 return !CCI || traverseNode("constructor initializer", CCI, [&] { in TraverseConstructorInitializer() 361 Base::TraverseConstructorInitializer(CCI); in TraverseConstructorInitializer() [all …]
|
| H A D | FindTarget.cpp | 498 void add(const CXXCtorInitializer *CCI, RelSet Flags) { in add() 499 if (!CCI) in add() 501 debug(*CCI, Flags); in add() 503 if (CCI->isAnyMemberInitializer()) in add() 504 add(CCI->getAnyMember(), Flags); in add() 545 else if (const CXXCtorInitializer *CCI = N.get<CXXCtorInitializer>()) in allTargetDecls() local 546 Finder.add(CCI, Flags); in allTargetDecls() 1061 if (const CXXCtorInitializer *CCI = N.get<CXXCtorInitializer>()) { in explicitReference() local 1064 if (CCI->isAnyMemberInitializer()) { in explicitReference() 1066 CCI->getMemberLocation(), in explicitReference() [all …]
|
| H A D | XRefs.cpp | 1816 if (const auto *CCI = N->ASTNode.get<CXXCtorInitializer>()) { in typeForNode() local 1817 if (const FieldDecl *FD = CCI->getAnyMember()) in typeForNode() 1819 if (const Type *Base = CCI->getBaseClass()) in typeForNode()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | InstructionsTest.cpp | 937 ASSERT_NE(CCI, SI->case_end()); in TEST() 944 EXPECT_EQ(CCI + 1, std::next(CCI)); in TEST() 945 EXPECT_EQ(CCI + 2, std::next(CCI, 2)); in TEST() 946 EXPECT_EQ(CCI + 3, std::next(CCI, 3)); in TEST() 947 EXPECT_EQ(CCE, CCI + 3); in TEST() 948 EXPECT_EQ(0, CCI - CCI); in TEST() 949 EXPECT_EQ(1, (CCI + 1) - CCI); in TEST() 950 EXPECT_EQ(2, (CCI + 2) - CCI); in TEST() 951 EXPECT_EQ(3, CCE - CCI); in TEST() 952 EXPECT_EQ(3, std::distance(CCI, CCE)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CloningTest.cpp | 711 ClonedCodeInfo CCI; in TEST() local 713 CloneFunctionChangeType::GlobalChanges, Returns, "", &CCI); in TEST() 716 EXPECT_FALSE(CCI.ContainsCalls); in TEST() 717 EXPECT_FALSE(CCI.ContainsDynamicAllocas); in TEST() 743 ClonedCodeInfo CCI; in TEST() local 745 CloneFunctionChangeType::GlobalChanges, Returns, "", &CCI); in TEST() 748 EXPECT_TRUE(CCI.ContainsCalls); in TEST() 749 EXPECT_TRUE(CCI.ContainsDynamicAllocas); in TEST() 793 ClonedCodeInfo CCI; in TEST() local 795 CloneFunctionChangeType::GlobalChanges, Returns, "", &CCI); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerManager.cpp | 82 CachedDeclCheckersMapTy::iterator CCI = CachedDeclCheckersMap.find(DeclKind); in runCheckersOnASTDecl() local 83 if (CCI != CachedDeclCheckersMap.end()) { in runCheckersOnASTDecl() 84 checkers = &(CCI->second); in runCheckersOnASTDecl() 912 CachedStmtCheckersMapTy::iterator CCI = CachedStmtCheckersMap.find(Key); in getCachedStmtCheckersFor() local 913 if (CCI != CachedStmtCheckersMap.end()) in getCachedStmtCheckersFor() 914 return CCI->second; in getCachedStmtCheckersFor()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 167 auto *CCI = in preprocessCompositeConstants() local 169 Worklist.push(CCI); in preprocessCompositeConstants() 170 I->replaceUsesOfWith(Op, CCI); in preprocessCompositeConstants() 172 AggrConsts[CCI] = AggrC; in preprocessCompositeConstants()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTTypeTraits.cpp | 217 if (const CXXCtorInitializer *CCI = get<CXXCtorInitializer>()) in getSourceRange() local 218 return CCI->getSourceRange(); in getSourceRange()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-objc-message.m | 310 // RUN: c-index-test -code-completion-at=%s:134:6 %s | FileCheck -check-prefix=CHECK-CCI %s 311 // CHECK-CCI: ObjCInstanceMethodDecl:{ResultType void}{TypedText method1} (37) 312 // CHECK-CCI: ObjCInstanceMethodDecl:{ResultType void}{TypedText method2} (35) 330 // RUN: c-index-test -code-completion-at=%s:135:5 %s | FileCheck -check-prefix=CHECK-CCI %s
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/Disassembler/ |
| H A D | ARMDisassembler.cpp | 989 MCInst::iterator CCI = MI.begin(); in AddThumbPredicate() local 990 for (unsigned i = 0; i < NumOps; ++i, ++CCI) { in AddThumbPredicate() 991 if (OpInfo[i].isPredicate() || CCI == MI.end()) break; in AddThumbPredicate() 995 CCI = MI.insert(CCI, MCOperand::createImm(CC)); in AddThumbPredicate() 996 ++CCI; in AddThumbPredicate() 998 MI.insert(CCI, MCOperand::createReg(0)); in AddThumbPredicate() 1000 MI.insert(CCI, MCOperand::createReg(ARM::CPSR)); in AddThumbPredicate()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 3970 auto CCI = CurComponents.rbegin(); in VisitMemberExpr() local 3974 if (CCI->getAssociatedExpression()->getStmtClass() != in VisitMemberExpr() 3981 CCI->getAssociatedExpression()))) in VisitMemberExpr() 3984 const Decl *CCD = CCI->getAssociatedDeclaration(); in VisitMemberExpr() 3990 std::advance(CCI, 1); in VisitMemberExpr() 3991 if (CCI == CCE) in VisitMemberExpr()
|