Home
last modified time | relevance | path

Searched refs:isThisDeclarationADefinition (Results 1 – 25 of 95) sorted by relevance

1234

/external/llvm-project/clang/unittests/AST/
DASTImporterGenericRedeclTest.cpp185 ASSERT_FALSE(FromD->isThisDeclarationADefinition()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
193 EXPECT_FALSE(ToD->isThisDeclarationADefinition()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
202 ASSERT_TRUE(FromD->isThisDeclarationADefinition()); in TypedTest_DefinitionShouldBeImportedAsADefinition()
209 EXPECT_TRUE(ToD->isThisDeclarationADefinition()); in TypedTest_DefinitionShouldBeImportedAsADefinition()
219 ASSERT_FALSE(From0->isThisDeclarationADefinition()); in TypedTest_ImportPrototypeAfterImportedPrototype()
220 ASSERT_FALSE(From1->isThisDeclarationADefinition()); in TypedTest_ImportPrototypeAfterImportedPrototype()
231 EXPECT_FALSE(To0->isThisDeclarationADefinition()); in TypedTest_ImportPrototypeAfterImportedPrototype()
232 EXPECT_FALSE(To1->isThisDeclarationADefinition()); in TypedTest_ImportPrototypeAfterImportedPrototype()
241 ASSERT_FALSE(FromProto->isThisDeclarationADefinition()); in TypedTest_ImportDefinitionAfterImportedPrototype()
242 ASSERT_TRUE(FromDef->isThisDeclarationADefinition()); in TypedTest_ImportDefinitionAfterImportedPrototype()
[all …]
DASTImporterTest.cpp1460 EXPECT_TRUE(ToCTD->isThisDeclarationADefinition()); in TEST_P()
1479 return T->isThisDeclarationADefinition(); in TEST_P()
1499 return T->isThisDeclarationADefinition(); in TEST_P()
1612 return T->isThisDeclarationADefinition(); in TEST_P()
1633 return T->isThisDeclarationADefinition(); in TEST_P()
3195 EXPECT_TRUE(FromSpec->isThisDeclarationADefinition()); in TEST_P()
3196 EXPECT_TRUE(ImportedSpec->isThisDeclarationADefinition()); in TEST_P()
3455 ASSERT_FALSE(FromDWithInit->isThisDeclarationADefinition()); in TEST_P()
3456 ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition()); in TEST_P()
3486 ASSERT_FALSE(FromDDeclarationOnly->isThisDeclarationADefinition()); in TEST_P()
[all …]
/external/clang/lib/Index/
DIndexDecl.cpp45 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined()
60 if (FD->isThisDeclarationADefinition()) in handleDeclarator()
63 if (MD->isThisDeclarationADefinition()) in handleDeclarator()
69 if (FD->isThisDeclarationADefinition()) { in handleDeclarator()
85 if (D->isThisDeclarationADefinition()) { in handleObjCMethod()
126 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
193 if (D->isThisDeclarationADefinition()) { in VisitTagDecl()
220 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
237 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
379 if (D->isThisDeclarationADefinition()) in VisitClassTemplateSpecializationDecl()
DIndexingContext.cpp176 return VD->isThisDeclarationADefinition(Ctx); in isDeclADefinition()
179 return FD->isThisDeclarationADefinition(); in isDeclADefinition()
182 return TD->isThisDeclarationADefinition(); in isDeclADefinition()
185 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
DIndexTypeSourceInfo.cpp66 if (FD->isThisDeclarationADefinition()) { in TraverseParmVarDecl()
192 if (D->isThisDeclarationADefinition()) { in indexTagDecl()
/external/llvm-project/clang/tools/libclang/
DCXIndexDataConsumer.cpp94 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
168 if (!ObjCID->isThisDeclarationADefinition() && in handleDeclOccurrence()
176 if (!ObjCPD->isThisDeclarationADefinition() && in handleDeclOccurrence()
608 bool isDef = D->isThisDeclarationADefinition(); in handleFunction()
624 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
645 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
646 D->isThisDeclarationADefinition()); in handleTagDecl()
658 if (!D->isThisDeclarationADefinition()) { in handleObjCInterface()
689 ObjCProtocolListInfo ProtInfo(D->isThisDeclarationADefinition() in handleObjCInterface()
713 if (!D->isThisDeclarationADefinition()) { in handleObjCProtocol()
[all …]
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp95 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
167 if (!ObjCID->isThisDeclarationADefinition() && in handleDeclOccurence()
175 if (!ObjCPD->isThisDeclarationADefinition() && in handleDeclOccurence()
596 bool isDef = D->isThisDeclarationADefinition(); in handleFunction()
612 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
639 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
640 D->isThisDeclarationADefinition()); in handleTagDecl()
652 if (!D->isThisDeclarationADefinition()) { in handleObjCInterface()
683 ObjCProtocolListInfo ProtInfo(D->isThisDeclarationADefinition() in handleObjCInterface()
707 if (!D->isThisDeclarationADefinition()) { in handleObjCProtocol()
[all …]
/external/llvm-project/clang/lib/Index/
DIndexDecl.cpp79 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition() && in hasUserDefined()
104 FD->isThisDeclarationADefinition()) in handleDeclarator()
107 if (MD->isThisDeclarationADefinition()) in handleDeclarator()
114 FD->isThisDeclarationADefinition()) { in handleDeclarator()
124 if (FD->isThisDeclarationADefinition()) { in handleDeclarator()
183 if (D->isThisDeclarationADefinition()) { in handleObjCMethod()
290 if (D->isThisDeclarationADefinition()) { in VisitFunctionDecl()
361 if (D->isThisDeclarationADefinition()) { in VisitTagDecl()
393 if (D->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
424 if (D->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
[all …]
DIndexingContext.cpp251 return VD->isThisDeclarationADefinition(Ctx); in isDeclADefinition()
254 return FD->isThisDeclarationADefinition(); in isDeclADefinition()
257 return TD->isThisDeclarationADefinition(); in isDeclADefinition()
260 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
DIndexTypeSourceInfo.cpp95 if (FD->isThisDeclarationADefinition()) { in TraverseParmVarDecl()
302 if (D->isThisDeclarationADefinition()) { in indexTagDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DInconsistentDeclarationParameterNameCheck.cpp73 if (!ParameterSourceDeclaration->isThisDeclarationADefinition()) in checkIfFixItHintIsApplicable()
183 if (OriginalDeclaration->isThisDeclarationADefinition()) in getParameterSourceDeclaration()
187 if (OtherDeclaration->isThisDeclarationADefinition()) { in getParameterSourceDeclaration()
336 } else if (ParameterSourceDeclaration->isThisDeclarationADefinition()) { in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DNoUncountedMembersChecker.cpp89 if (!RD->isThisDeclarationADefinition()) in shouldSkipDecl()
DRefCntblBaseVirtualDtorChecker.cpp101 if (!RD->isThisDeclarationADefinition()) in shouldSkipDecl()
/external/llvm-project/clang/tools/clang-extdef-mapping/
DClangExtDefMapGen.cpp63 if (FD->isThisDeclarationADefinition()) in handleDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNodiscardCheck.cpp59 return !(Node.isThisDeclarationADefinition() && Node.isOutOfLine()); in AST_MATCHER()
DRedundantVoidArgCheck.cpp100 if (Function->isThisDeclarationADefinition()) { in processFunctionDecl()
/external/llvm-project/clang/examples/CallSuperAttribute/
DCallSuperAttrInfo.cpp81 if (MethodDecl->isThisDeclarationADefinition() && MethodDecl->hasBody()) { in VisitCXXMethodDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp53 if (RecordDecl->isThisDeclarationADefinition()) { in check()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDumpAST.cpp142 return Record && Record->isThisDeclarationADefinition() && in prepare()
/external/llvm-project/clang/lib/AST/
DDeclPrinter.cpp448 if (FD->isThisDeclarationADefinition()) in VisitDeclContext()
453 if (TD->getTemplatedDecl()->isThisDeclarationADefinition()) in VisitDeclContext()
1143 if (!PrevDecl->isThisDeclarationADefinition()) in VisitFunctionTemplateDecl()
1158 if (D->isThisDeclarationADefinition()) in VisitClassTemplateDecl()
1315 if (!OID->isThisDeclarationADefinition()) { in VisitObjCInterfaceDecl()
1369 if (!PID->isThisDeclarationADefinition()) { in VisitObjCProtocolDecl()
/external/llvm-project/clang-tools-extra/clang-doc/
DSerialize.cpp331 if (!D->isThisDeclarationADefinition()) in parseBases()
409 if (D->isThisDeclarationADefinition()) in populateSymbolInfo()
439 if (!D->isThisDeclarationADefinition()) in parseBases()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp302 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl()
311 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
/external/clang/include/clang/AST/
DDeclTemplate.h905 bool isThisDeclarationADefinition() const {
906 return getTemplatedDecl()->isThisDeclarationADefinition();
1995 bool isThisDeclarationADefinition() const {
1996 return getTemplatedDecl()->isThisDeclarationADefinition();
2806 bool isThisDeclarationADefinition() const {
2807 return getTemplatedDecl()->isThisDeclarationADefinition();
/external/llvm-project/clang/include/clang/Analysis/
DCallGraph.h115 if (includeInGraph(FD) && FD->isThisDeclarationADefinition()) { in VisitFunctionDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()

1234