reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/DeclTemplate.h
 2124     return getTemplatedDecl()->isThisDeclarationADefinition();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 4755   return Node.isThisDeclarationADefinition();
tools/clang/lib/AST/ASTImporter.cpp
 2644           if (D->isThisDeclarationADefinition() && FoundDef) {
 5181       if (D->isThisDeclarationADefinition() && PrevDecl->getDefinition()) {
tools/clang/lib/Index/IndexDecl.cpp
  353       if (D->isThisDeclarationADefinition()) {
  643     if (!D->isThisDeclarationADefinition())
tools/clang/lib/Index/IndexTypeSourceInfo.cpp
  276     if (D->isThisDeclarationADefinition()) {
tools/clang/lib/Index/IndexingContext.cpp
  248     return TD->isThisDeclarationADefinition();
tools/clang/lib/Sema/SemaDecl.cpp
 4338   assert(TagFromDeclSpec->isThisDeclarationADefinition());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 1806       if (cast<TagDecl>(DclIt)->isThisDeclarationADefinition()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 3316       D->isThisDeclarationADefinition()) {
 3368   if (D->isThisDeclarationADefinition() &&
tools/clang/lib/Sema/SemaType.cpp
 7892         if (Redecl->isThisDeclarationADefinition() ||
tools/clang/lib/Serialization/ASTReader.cpp
 9970                      cast<CXXRecordDecl>(R)->isThisDeclarationADefinition() &&
10021         if (RD->isDependentContext() && !RD->isThisDeclarationADefinition())
tools/clang/lib/Serialization/ASTWriterDecl.cpp
 1317   Record.push_back(D->isThisDeclarationADefinition());
 1318   if (D->isThisDeclarationADefinition())
tools/clang/tools/extra/clang-doc/Serialize.cpp
  331   if (!D->isThisDeclarationADefinition())
  409   if (D->isThisDeclarationADefinition())
  439   if (!D->isThisDeclarationADefinition())
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
   53     if (RecordDecl->isThisDeclarationADefinition()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  438     if (!Decl->getCanonicalDecl()->isThisDeclarationADefinition())
tools/clang/tools/extra/clangd/refactor/tweaks/DumpAST.cpp
  114     return Record && Record->isThisDeclarationADefinition() &&
tools/clang/tools/extra/modularize/Modularize.cpp
  625          !cast<TagDecl>(ND)->isThisDeclarationADefinition()))
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  646   DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(),
  647                  D->isThisDeclarationADefinition());
  978   if (RD->isThisDeclarationADefinition()) {
  981                            /*isDefinition=*/RD->isThisDeclarationADefinition());
 1004                  /*isDefinition=*/RD->isThisDeclarationADefinition(),
 1005                  /*isContainer=*/RD->isThisDeclarationADefinition());
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  161     ASSERT_FALSE(FromD->isThisDeclarationADefinition());
  169     EXPECT_FALSE(ToD->isThisDeclarationADefinition());
  178     ASSERT_TRUE(FromD->isThisDeclarationADefinition());
  185     EXPECT_TRUE(ToD->isThisDeclarationADefinition());
  195     ASSERT_FALSE(From0->isThisDeclarationADefinition());
  196     ASSERT_FALSE(From1->isThisDeclarationADefinition());
  207     EXPECT_FALSE(To0->isThisDeclarationADefinition());
  208     EXPECT_FALSE(To1->isThisDeclarationADefinition());
  217     ASSERT_FALSE(FromProto->isThisDeclarationADefinition());
  218     ASSERT_TRUE(FromDef->isThisDeclarationADefinition());
  229     EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
  230     EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
  239     ASSERT_TRUE(FromDef->isThisDeclarationADefinition());
  240     ASSERT_FALSE(FromProto->isThisDeclarationADefinition());
  251     EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
  252     EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
  262     ASSERT_FALSE(From0->isThisDeclarationADefinition());
  263     ASSERT_FALSE(From1->isThisDeclarationADefinition());
  274     EXPECT_FALSE(To0->isThisDeclarationADefinition());
  275     EXPECT_FALSE(To1->isThisDeclarationADefinition());
  285     ASSERT_TRUE(From0->isThisDeclarationADefinition());
  286     ASSERT_TRUE(From1->isThisDeclarationADefinition());
  296     EXPECT_TRUE(To0->isThisDeclarationADefinition());
  308     ASSERT_TRUE(FromDef->isThisDeclarationADefinition());
  309     ASSERT_FALSE(FromProto->isThisDeclarationADefinition());
  321     EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
  322     EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
  333     ASSERT_TRUE(FromDef->isThisDeclarationADefinition());
  334     ASSERT_FALSE(FromProto->isThisDeclarationADefinition());
  346     EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
  347     EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
tools/clang/unittests/AST/ASTImporterTest.cpp
 1805                       return T->isThisDeclarationADefinition();
 1826                       return T->isThisDeclarationADefinition();
 3677   EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
 3678   EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
 3695   EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
 3696   EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
 3717   EXPECT_TRUE(ToDef->isThisDeclarationADefinition());
 3718   EXPECT_FALSE(ToProto->isThisDeclarationADefinition());
 4812   ASSERT_FALSE(FromFwd->isThisDeclarationADefinition());
 4813   ASSERT_TRUE(FromDef->isThisDeclarationADefinition());
 4819   EXPECT_FALSE(ToFwd->isThisDeclarationADefinition());
 4820   EXPECT_TRUE(ToDef->isThisDeclarationADefinition());