Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp28 inline bool hasSuppression(const AttributedStmt *S) { in hasSuppression()
41 template <> inline SourceRange getRange(const AttributedStmt *S) { in getRange()
93 bool VisitAttributedStmt(AttributedStmt *AS) { in VisitAttributedStmt()
H A DBugReporter.cpp2433 if (const auto *AS = dyn_cast<AttributedStmt>(S)) in getLocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp148 if (const auto *AS = dyn_cast_or_null<AttributedStmt>(S)) in getLikelihood()
202 if (auto AS = dyn_cast_or_null<AttributedStmt>(S)) in IgnoreContainers()
225 else if (const auto *AS = dyn_cast<AttributedStmt>(S)) in stripLabelLikeStatements()
411 else if (const auto *AS = dyn_cast<AttributedStmt>(S)) in getExprStmt()
424 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, in Create()
429 alignof(AttributedStmt)); in Create()
430 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
433 AttributedStmt *AttributedStmt::CreateEmpty(const ASTContext &C, in CreateEmpty()
437 alignof(AttributedStmt)); in CreateEmpty()
438 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
H A DStmtProfile.cpp278 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
H A DStmtPrinter.cpp294 void StmtPrinter::VisitAttributedStmt(AttributedStmt *Node) { in VisitAttributedStmt()
H A DASTImporter.cpp538 ExpectedStmt VisitAttributedStmt(AttributedStmt *S);
6807 ExpectedStmt ASTNodeImporter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
6819 return AttributedStmt::Create( in VisitAttributedStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp76 SmallVector<AttributedStmt *, 4> MustTailStmts;
97 const Attr *GetMustTailAttr(AttributedStmt *AS);
602 AttributedStmt *AS = cast<AttributedStmt>(S); in BuildScopeInformation()
1002 for (AttributedStmt *AS : MustTailStmts) { in VerifyMustTailStmts()
1012 const Attr *JumpScopeChecker::GetMustTailAttr(AttributedStmt *AS) { in GetMustTailAttr()
H A DAnalysisBasedWarnings.cpp1079 void markFallthroughVisited(const AttributedStmt *Stmt) { in markFallthroughVisited()
1085 typedef llvm::SmallPtrSet<const AttributedStmt*, 8> AttrStmts;
1145 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) { in checkFallThroughIntoBlock()
1171 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1192 bool VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
1217 static const AttributedStmt *asFallThroughAttr(const Stmt *S) { in asFallThroughAttr()
1218 if (const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(S)) { in asFallThroughAttr()
H A DSemaStmt.cpp597 return AttributedStmt::Create(Context, AttrsLoc, Attrs, SubStmt); in BuildAttributedStmt()
H A DSemaOpenMP.cpp15420 AttributedStmt *InnerUnrolled = in ActOnOpenMPUnrollDirective()
15421 AttributedStmt::Create(Context, StartLoc, {UnrollHintAttr}, InnerFor); in ActOnOpenMPUnrollDirective()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h67 bool visitAttributedStmt(const AttributedStmt *S);
H A DByteCodeStmtGen.cpp277 return visitAttributedStmt(cast<AttributedStmt>(S)); in visitStmt()
663 bool ByteCodeStmtGen<Emitter>::visitAttributedStmt(const AttributedStmt *S) { in visitAttributedStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td236 class AttributedStmt {
H A DStmt.h169 friend class AttributedStmt; in alignas() local
2076 class AttributedStmt final
2078 private llvm::TrailingObjects<AttributedStmt, const Attr *> {
2084 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr *> Attrs, in AttributedStmt() function
2092 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() function
2105 static AttributedStmt *Create(const ASTContext &C, SourceLocation Loc,
2109 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
H A DASTNodeTraverser.h702 void VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
H A DRecursiveASTVisitor.h2379 DEF_TRAVERSE_STMT(AttributedStmt, {})
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td32 def AttributedStmt : StmtNode<ValueStmt>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp633 const auto *AS = dyn_cast<AttributedStmt>(S); in reportDeadCode()
H A DCFG.cpp561 CFGBlock *VisitAttributedStmt(AttributedStmt *A, AddStmtChoice asc);
2214 return VisitAttributedStmt(cast<AttributedStmt>(S), asc); in Visit()
2474 static bool isFallthroughStatement(const AttributedStmt *A) { in isFallthroughStatement()
2481 CFGBlock *CFGBuilder::VisitAttributedStmt(AttributedStmt *A, in VisitAttributedStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp458 EmitAttributedStmt(cast<AttributedStmt>(*S)); in EmitSimpleStmt()
518 } else if (const auto *AS = dyn_cast<AttributedStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
705 void CodeGenFunction::EmitAttributedStmt(const AttributedStmt &S) { in EmitAttributedStmt()
H A DCodeGenFunction.h3324 void EmitAttributedStmt(const AttributedStmt &S);
H A DCGStmtOpenMP.cpp2096 const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(SS); in EmitOMPInnerLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp203 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
2900 S = AttributedStmt::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp191 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1670 if (const auto *Outer = dyn_cast_if_present<AttributedStmt>(S)) in ParseIfStatement()

12