| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 147 if (const auto *AS = dyn_cast_or_null<AttributedStmt>(S)) in getLikelihood() 201 if (auto AS = dyn_cast_or_null<AttributedStmt>(S)) in IgnoreContainers() 224 else if (const auto *AS = dyn_cast<AttributedStmt>(S)) in stripLabelLikeStatements() 410 else if (const auto *AS = dyn_cast<AttributedStmt>(S)) in getExprStmt() 423 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, in Create() 428 alignof(AttributedStmt)); in Create() 429 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create() 432 AttributedStmt *AttributedStmt::CreateEmpty(const ASTContext &C, in CreateEmpty() 436 alignof(AttributedStmt)); in CreateEmpty() 437 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
|
| H A D | StmtProfile.cpp | 262 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
|
| H A D | StmtPrinter.cpp | 292 void StmtPrinter::VisitAttributedStmt(AttributedStmt *Node) { in VisitAttributedStmt()
|
| H A D | ASTImporter.cpp | 586 ExpectedStmt VisitAttributedStmt(AttributedStmt *S); 6422 ExpectedStmt ASTNodeImporter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt() 6434 return AttributedStmt::Create( in VisitAttributedStmt()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 76 SmallVector<AttributedStmt *, 4> MustTailStmts; 98 const Attr *GetMustTailAttr(AttributedStmt *AS); 598 AttributedStmt *AS = cast<AttributedStmt>(S); in BuildScopeInformation() 1001 for (AttributedStmt *AS : MustTailStmts) { in VerifyMustTailStmts() 1011 const Attr *JumpScopeChecker::GetMustTailAttr(AttributedStmt *AS) { in GetMustTailAttr()
|
| H A D | AnalysisBasedWarnings.cpp | 1051 void markFallthroughVisited(const AttributedStmt *Stmt) { in markFallthroughVisited() 1057 typedef llvm::SmallPtrSet<const AttributedStmt*, 8> AttrStmts; 1117 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) { in checkFallThroughIntoBlock() 1143 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock() 1164 bool VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt() 1189 static const AttributedStmt *asFallThroughAttr(const Stmt *S) { in asFallThroughAttr() 1190 if (const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(S)) { in asFallThroughAttr()
|
| H A D | SemaStmt.cpp | 596 return AttributedStmt::Create(Context, AttrsLoc, Attrs, SubStmt); in BuildAttributedStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 85 const auto *ParentStmt = Parent.get<AttributedStmt>(); in unrollType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | BracesAroundStatementsCheck.cpp | 190 while (const auto *AS = dyn_cast<AttributedStmt>(S)) in checkStmt()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtDataCollectors.td | 236 class AttributedStmt {
|
| H A D | Stmt.h | 149 friend class AttributedStmt; in alignas() local 1878 class AttributedStmt final 1880 private llvm::TrailingObjects<AttributedStmt, const Attr *> { 1886 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr *> Attrs, in AttributedStmt() function 1894 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() function 1907 static AttributedStmt *Create(const ASTContext &C, SourceLocation Loc, 1911 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
|
| H A D | ASTNodeTraverser.h | 683 void VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
|
| H A D | RecursiveASTVisitor.h | 2399 DEF_TRAVERSE_STMT(AttributedStmt, {})
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 623 if (const auto *S = N.get<AttributedStmt>()) { in getAttributes() 624 for (; S != nullptr; S = dyn_cast<AttributedStmt>(S->getSubStmt())) in getAttributes()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 164 return isa<AttributedStmt>(Stmt) || isa<CompoundStmt>(Stmt) || in computeInsertionPoint()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 32 def AttributedStmt : StmtNode<ValueStmt>;
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 447 EmitAttributedStmt(cast<AttributedStmt>(*S)); in EmitSimpleStmt() 507 } else if (const auto *AS = dyn_cast<AttributedStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope() 695 void CodeGenFunction::EmitAttributedStmt(const AttributedStmt &S) { in EmitAttributedStmt()
|
| H A D | CoverageMappingGen.cpp | 981 if (LastStmt && HasTerminateStmt && !isa<AttributedStmt>(Child)) { in VisitStmt()
|
| H A D | CodeGenFunction.h | 3237 void EmitAttributedStmt(const AttributedStmt &S);
|
| H A D | CGStmtOpenMP.cpp | 2088 const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(SS); in EmitOMPInnerLoop()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 544 CFGBlock *VisitAttributedStmt(AttributedStmt *A, AddStmtChoice asc); 2146 return VisitAttributedStmt(cast<AttributedStmt>(S), asc); in Visit() 2407 static bool isFallthroughStatement(const AttributedStmt *A) { in isFallthroughStatement() 2414 CFGBlock *CFGBuilder::VisitAttributedStmt(AttributedStmt *A, in VisitAttributedStmt()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 201 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt() 2795 S = AttributedStmt::CreateEmpty( in ReadStmtFromStream()
|
| H A D | ASTWriterStmt.cpp | 128 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1596 if (const auto *Outer = dyn_cast_or_null<AttributedStmt>(S)) in ParseIfStatement()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | InternalsManual.rst | 3091 The ``clang::AttributedStmt`` object can be queried for the presence or absence
|