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

References

tools/clang/include/clang/AST/Decl.h
 1336     assert(isThisDeclarationADefinition() && "Not a definition!");
tools/clang/include/clang/AST/DeclTemplate.h
 2943     return getTemplatedDecl()->isThisDeclarationADefinition();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 4755   return Node.isThisDeclarationADefinition();
tools/clang/lib/AST/ASTContext.cpp
10065   if (VD->isThisDeclarationADefinition() == VarDecl::DeclarationOnly &&
tools/clang/lib/AST/ASTImporter.cpp
 3684           if (D->isThisDeclarationADefinition() && FoundDef)
 5402   if (DTemplated->isThisDeclarationADefinition() &&
 5403       !ToTemplated->isThisDeclarationADefinition()) {
 5458       if (!D->isThisDeclarationADefinition() ||
tools/clang/lib/AST/Decl.cpp
 2163   DefinitionKind Kind = isThisDeclarationADefinition();
 2170     Kind = I->isThisDeclarationADefinition();
 2242     if (I->isThisDeclarationADefinition()) {
tools/clang/lib/AST/DeclBase.cpp
  645     if (Var->isThisDeclarationADefinition()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2495     if (VD->isThisDeclarationADefinition() != VarDecl::Definition &&
 2623       if (VD->isThisDeclarationADefinition())
 4370   auto DK = VD->isThisDeclarationADefinition();
tools/clang/lib/Sema/SemaDecl.cpp
 2401     return VD->isThisDeclarationADefinition();
 2646         unsigned Diag = cast<VarDecl>(Def)->isThisDeclarationADefinition() ==
 2663       if (VD->isThisDeclarationADefinition() != VarDecl::Definition) {
 2794         (NewVD->hasInit() || NewVD->isThisDeclarationADefinition()))
 2855       if (VD->isThisDeclarationADefinition() == VarDecl::DeclarationOnly) {
 3003   if (Old->isThisDeclarationADefinition())
 3819   S.Diag(New->getLocation(), New->isThisDeclarationADefinition()
 4135       !Old->getDefinition() && !New->isThisDeclarationADefinition())
 4159       New->isThisDeclarationADefinition() == VarDecl::Definition) {
 6143         assert(VD->isThisDeclarationADefinition() &&
 7736     if (NewVD->isThisDeclarationADefinition() || getLangOpts().CPlusPlus) {
12054     if (Var->isConstexpr() && !Var->isThisDeclarationADefinition() &&
12084     VarDecl::DefinitionKind DefKind = Var->isThisDeclarationADefinition();
12380   if (var->isThisDeclarationADefinition() &&
12389     while (prev && prev->isThisDeclarationADefinition())
12433   if (GlobalStorage && var->isThisDeclarationADefinition() &&
12621   if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() &&
12710         VD->isThisDeclarationADefinition()) {
12746     if (!Attr->isInherited() && !VD->isThisDeclarationADefinition()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1833     if (VD->isThisDeclarationADefinition() && VD->isExternallyVisible()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 1833       if (VD->isThisDeclarationADefinition()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4457   assert(PatternDecl->isThisDeclarationADefinition() &&
 4595              (OldVar->isInline() && OldVar->isThisDeclarationADefinition() &&
 4596               !NewVar->isThisDeclarationADefinition())) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 2778            (Var->isThisDeclarationADefinition() == VarDecl::Definition ||
 3428   if (VD->isThisDeclarationADefinition() == VarDecl::Definition) {
 3430       if (CurD->isThisDeclarationADefinition() == VarDecl::Definition) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  625   DeclInfo DInfo(!D->isFirstDecl(), D->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());
  356     ASSERT_TRUE(FromD->isThisDeclarationADefinition());
  363     EXPECT_TRUE(cast<DeclTy>(ImportedD)->isThisDeclarationADefinition());
  383     EXPECT_FALSE(ProtoD->isThisDeclarationADefinition());
  386     EXPECT_TRUE(DefinitionD->isThisDeclarationADefinition());
  390         DefinitionD->getPreviousDecl()->isThisDeclarationADefinition());
tools/clang/unittests/AST/ASTImporterTest.cpp
 3617   ASSERT_FALSE(FromDWithInit->isThisDeclarationADefinition());
 3618   ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition());
 3648   ASSERT_FALSE(FromDDeclarationOnly->isThisDeclarationADefinition());
 3649   ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition());