/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterGenericRedeclTest.cpp | 185 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 …]
|
D | ASTImporterTest.cpp | 1460 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/ |
D | IndexDecl.cpp | 45 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()
|
D | IndexingContext.cpp | 176 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()
|
D | IndexTypeSourceInfo.cpp | 66 if (FD->isThisDeclarationADefinition()) { in TraverseParmVarDecl() 192 if (D->isThisDeclarationADefinition()) { in indexTagDecl()
|
/external/llvm-project/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 94 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/ |
D | CXIndexDataConsumer.cpp | 95 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/ |
D | IndexDecl.cpp | 79 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 …]
|
D | IndexingContext.cpp | 251 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()
|
D | IndexTypeSourceInfo.cpp | 95 if (FD->isThisDeclarationADefinition()) { in TraverseParmVarDecl() 302 if (D->isThisDeclarationADefinition()) { in indexTagDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | InconsistentDeclarationParameterNameCheck.cpp | 73 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/ |
D | NoUncountedMembersChecker.cpp | 89 if (!RD->isThisDeclarationADefinition()) in shouldSkipDecl()
|
D | RefCntblBaseVirtualDtorChecker.cpp | 101 if (!RD->isThisDeclarationADefinition()) in shouldSkipDecl()
|
/external/llvm-project/clang/tools/clang-extdef-mapping/ |
D | ClangExtDefMapGen.cpp | 63 if (FD->isThisDeclarationADefinition()) in handleDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNodiscardCheck.cpp | 59 return !(Node.isThisDeclarationADefinition() && Node.isOutOfLine()); in AST_MATCHER()
|
D | RedundantVoidArgCheck.cpp | 100 if (Function->isThisDeclarationADefinition()) { in processFunctionDecl()
|
/external/llvm-project/clang/examples/CallSuperAttribute/ |
D | CallSuperAttrInfo.cpp | 81 if (MethodDecl->isThisDeclarationADefinition() && MethodDecl->hasBody()) { in VisitCXXMethodDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardDeclarationNamespaceCheck.cpp | 53 if (RecordDecl->isThisDeclarationADefinition()) { in check()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DumpAST.cpp | 142 return Record && Record->isThisDeclarationADefinition() && in prepare()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclPrinter.cpp | 448 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/ |
D | Serialize.cpp | 331 if (!D->isThisDeclarationADefinition()) in parseBases() 409 if (D->isThisDeclarationADefinition()) in populateSymbolInfo() 439 if (!D->isThisDeclarationADefinition()) in parseBases()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 302 if (FD->isThisDeclarationADefinition() && in VisitFunctionDecl() 311 if (MD->isThisDeclarationADefinition()) { in VisitObjCMethodDecl()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 905 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/ |
D | CallGraph.h | 115 if (includeInGraph(FD) && FD->isThisDeclarationADefinition()) { in VisitFunctionDecl()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NSErrorChecker.cpp | 55 if (!D->isThisDeclarationADefinition()) in checkASTDecl()
|