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

Declarations

tools/clang/include/clang/AST/DeclBase.h
 2226   bool containsDecl(Decl *D) const;

References

tools/clang/lib/AST/ASTImporter.cpp
 1733         assert(ToDC == ToD->getLexicalDeclContext() && ToDC->containsDecl(ToD));
tools/clang/lib/AST/DeclBase.cpp
 1406   return containsDecl(D);
tools/clang/lib/Sema/SemaDecl.cpp
 8983         if (!TagDC->containsDecl(TD))
tools/clang/lib/Sema/SemaExpr.cpp
  305   if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) &&
  318   if (LangOpts.OpenMP && DMD && !CurContext->containsDecl(D) &&
 4174           if (DC->containsDecl(TT->getDecl()))
 4791           if (DC->containsDecl(TT->getDecl()))
tools/clang/lib/Sema/SemaExprMember.cpp
  614     if (Record->containsDecl(ND))
  622           if (BSTy->getDecl()->containsDecl(ND))
tools/clang/unittests/AST/ASTImporterTest.cpp
 4004   ASSERT_TRUE(NS->containsDecl(Spec));
 4007   EXPECT_FALSE(NS->containsDecl(Spec));
 4018   ASSERT_TRUE(DC->containsDecl(A0));
 4019   ASSERT_TRUE(DC->containsDecl(A1));
 4041   EXPECT_FALSE(DC->containsDecl(A0));
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  658         assert(copied_decl->getDeclContext()->containsDecl(copied_decl));
  661         assert(!decl_context_non_const->containsDecl(copied_decl));