Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp262 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
H A DStmtPrinter.cpp293 void StmtPrinter::VisitAttributedStmt(AttributedStmt *Node) { in VisitAttributedStmt()
H A DASTImporter.cpp583 ExpectedStmt VisitAttributedStmt(AttributedStmt *S);
6558 ExpectedStmt ASTNodeImporter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
6570 return AttributedStmt::Create( in VisitAttributedStmt()
H A DExprConstant.cpp5489 return EvaluateStmt(Result, Info, cast<AttributedStmt>(S)->getSubStmt(), in EvaluateStmt()
/openbsd-src/gnu/llvm/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.cpp1055 void markFallthroughVisited(const AttributedStmt *Stmt) { in markFallthroughVisited()
1061 typedef llvm::SmallPtrSet<const AttributedStmt*, 8> AttrStmts;
1121 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) { in checkFallThroughIntoBlock()
1147 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1168 bool VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
1193 static const AttributedStmt *asFallThroughAttr(const Stmt *S) { in asFallThroughAttr()
1194 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()
H A DSemaOpenMP.cpp15122 AttributedStmt *InnerUnrolled = in ActOnOpenMPUnrollDirective()
15123 AttributedStmt::Create(Context, StartLoc, {UnrollHintAttr}, InnerFor); in ActOnOpenMPUnrollDirective()
H A DTreeTransform.h7548 TreeTransform<Derived>::TransformAttributedStmt(AttributedStmt *S, in TransformAttributedStmt()
H A DSemaDeclCXX.cpp2102 SemaRef, Dcl, cast<AttributedStmt>(S)->getSubStmt(), ReturnStmts, in CheckConstexprFunctionStmt()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtDataCollectors.td236 class AttributedStmt {
H A DStmt.h151 friend class AttributedStmt; variable
1890 class AttributedStmt final
1892 private llvm::TrailingObjects<AttributedStmt, const Attr *> {
1898 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr *> Attrs, in AttributedStmt() function
1906 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() function
1919 static AttributedStmt *Create(const ASTContext &C, SourceLocation Loc,
1923 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
H A DASTNodeTraverser.h696 void VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
H A DRecursiveASTVisitor.h2396 DEF_TRAVERSE_STMT(AttributedStmt, {})
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td32 def AttributedStmt : StmtNode<ValueStmt>;
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmt.cpp451 EmitAttributedStmt(cast<AttributedStmt>(*S)); in EmitSimpleStmt()
511 } else if (const auto *AS = dyn_cast<AttributedStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
698 void CodeGenFunction::EmitAttributedStmt(const AttributedStmt &S) { in EmitAttributedStmt()
H A DCoverageMappingGen.cpp984 if (LastStmt && HasTerminateStmt && !isa<AttributedStmt>(Child)) { in VisitStmt()
H A DCodeGenFunction.h3239 void EmitAttributedStmt(const AttributedStmt &S);
H A DCGStmtOpenMP.cpp2096 const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(SS); in EmitOMPInnerLoop()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp548 CFGBlock *VisitAttributedStmt(AttributedStmt *A, AddStmtChoice asc);
2206 return VisitAttributedStmt(cast<AttributedStmt>(S), asc); in Visit()
2467 static bool isFallthroughStatement(const AttributedStmt *A) { in isFallthroughStatement()
2474 CFGBlock *CFGBuilder::VisitAttributedStmt(AttributedStmt *A, in VisitAttributedStmt()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp202 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
2842 S = AttributedStmt::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp128 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp1620 if (const auto *Outer = dyn_cast_or_null<AttributedStmt>(S)) in ParseIfStatement()
/openbsd-src/gnu/llvm/clang/docs/
H A DInternalsManual.rst3094 The ``clang::AttributedStmt`` object can be queried for the presence or absence