Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUnaryStaticAssertCheck.cpp25 Result.Nodes.getNodeAs<StaticAssertDecl>("static_assert"); in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DRandstruct.cpp185 else if (isa<StaticAssertDecl>(D) || isa<IndirectFieldDecl>(D)) in randomizeStructureLayout()
H A DDeclCXX.cpp3193 void StaticAssertDecl::anchor() {} in anchor()
3195 StaticAssertDecl *StaticAssertDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3201 return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message, in Create()
3205 StaticAssertDecl *StaticAssertDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3207 return new (C, ID) StaticAssertDecl(nullptr, SourceLocation(), nullptr, in CreateDeserialized()
H A DDeclPrinter.cpp76 void VisitStaticAssertDecl(StaticAssertDecl *D);
942 void DeclPrinter::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
H A DODRHash.cpp316 void VisitStaticAssertDecl(const StaticAssertDecl *D) { in VisitStaticAssertDecl()
H A DDeclBase.cpp983 isa<StaticAssertDecl>(this) || isa<BlockDecl>(this) || in AccessDeclContextCheck()
H A DASTImporter.cpp516 ExpectedDecl VisitStaticAssertDecl(StaticAssertDecl *D);
2337 ExpectedDecl ASTNodeImporter::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
2352 StaticAssertDecl *ToD; in VisitStaticAssertDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h248 bool VisitStaticAssertDecl(StaticAssertDecl *D);
H A DCIndex.cpp1290 bool CursorVisitor::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h3943 class StaticAssertDecl : public Decl {
3948 StaticAssertDecl(DeclContext *DC, SourceLocation StaticAssertLoc, in StaticAssertDecl() function
3960 static StaticAssertDecl *Create(ASTContext &C, DeclContext *DC,
3964 static StaticAssertDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DASTNodeTraverser.h551 void VisitStaticAssertDecl(const StaticAssertDecl *D) { in VisitStaticAssertDecl()
H A DRecursiveASTVisitor.h1602 DEF_TRAVERSE_DECL(StaticAssertDecl, {
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp764 bool VisitStaticAssertDecl(const StaticAssertDecl *D) { in VisitStaticAssertDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp792 if (isa<StaticAssertDecl>(D)) in getUnnamedDeclKind()
H A DSemaTemplateInstantiate.cpp2794 } else if (StaticAssertDecl *SA = dyn_cast<StaticAssertDecl>(NewMember)) { in InstantiateClass()
H A DSemaTemplateInstantiateDecl.cpp1389 Decl *TemplateDeclInstantiator::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
H A DSemaDecl.cpp4861 if (isa<StaticAssertDecl>(D) || isa<IndirectFieldDecl>(D) || in getNonCLikeKindForAnonymousStruct()
5540 } else if (isa<StaticAssertDecl>(Mem)) { in BuildAnonymousStructOrUnion()
H A DSemaDeclCXX.cpp16636 Decl *Decl = StaticAssertDecl::Create(Context, CurContext, StaticAssertLoc, in BuildStaticAssertDeclaration()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp960 const internal::VariadicDynCastAllOfMatcher<Decl, StaticAssertDecl>
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp406 void VisitStaticAssertDecl(StaticAssertDecl *D);
2541 void ASTDeclReader::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
3720 D = StaticAssertDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp129 void VisitStaticAssertDecl(StaticAssertDecl *D);
1776 void ASTDeclWriter::VisitStaticAssertDecl(StaticAssertDecl *D) { in VisitStaticAssertDecl()
H A DASTReader.cpp10331 const StaticAssertDecl *FirstSA = cast<StaticAssertDecl>(FirstDecl); in diagnoseOdrViolations()
10332 const StaticAssertDecl *SecondSA = cast<StaticAssertDecl>(SecondDecl); in diagnoseOdrViolations()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1532 bool WalkUpFromStaticAssertDecl(StaticAssertDecl *S) { in WalkUpFromStaticAssertDecl()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp738 TEST_P(ASTMatchersTest, StaticAssertDecl) { in TEST_P() argument
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2545 extern const internal::VariadicDynCastAllOfMatcher<Decl, StaticAssertDecl>