Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp147 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 DStmtProfile.cpp262 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
H A DStmtPrinter.cpp292 void StmtPrinter::VisitAttributedStmt(AttributedStmt *Node) { in VisitAttributedStmt()
H A DASTImporter.cpp586 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 DJumpDiagnostics.cpp76 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 DAnalysisBasedWarnings.cpp1051 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 DSemaStmt.cpp596 return AttributedStmt::Create(Context, AttrsLoc, Attrs, SubStmt); in BuildAttributedStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DUnrollLoopsCheck.cpp85 const auto *ParentStmt = Parent.get<AttributedStmt>(); in unrollType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DBracesAroundStatementsCheck.cpp190 while (const auto *AS = dyn_cast<AttributedStmt>(S)) in checkStmt()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtDataCollectors.td236 class AttributedStmt {
H A DStmt.h149 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 DASTNodeTraverser.h683 void VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
H A DRecursiveASTVisitor.h2399 DEF_TRAVERSE_STMT(AttributedStmt, {})
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp623 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 DExtractVariable.cpp164 return isa<AttributedStmt>(Stmt) || isa<CompoundStmt>(Stmt) || in computeInsertionPoint()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td32 def AttributedStmt : StmtNode<ValueStmt>;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp447 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 DCoverageMappingGen.cpp981 if (LastStmt && HasTerminateStmt && !isa<AttributedStmt>(Child)) { in VisitStmt()
H A DCodeGenFunction.h3237 void EmitAttributedStmt(const AttributedStmt &S);
H A DCGStmtOpenMP.cpp2088 const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(SS); in EmitOMPInnerLoop()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp544 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 DASTReaderStmt.cpp201 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
2795 S = AttributedStmt::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp128 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp1596 if (const auto *Outer = dyn_cast_or_null<AttributedStmt>(S)) in ParseIfStatement()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst3091 The ``clang::AttributedStmt`` object can be queried for the presence or absence

12