Searched refs:Stmt (Results 251 - 275 of 320) sorted by relevance

<<111213

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h27 #include "clang/AST/Stmt.h"
2202 Stmt *Init;
2277 return Init->getStmtClass() == Stmt::CXXDefaultInitExprClass;
3110 Stmt *ExprWithTemporary = nullptr;
3164 Stmt::child_range childrenExpr() {
3165 return Stmt::child_range(&ExprWithTemporary, &ExprWithTemporary + 1);
3168 Stmt::const_child_range childrenExpr() const {
3169 return Stmt::const_child_range(&ExprWithTemporary, &ExprWithTemporary + 1);
H A DJSONNodeDumper.h195 void Visit(const Stmt *Node);
H A DTextNodeDumper.h176 void Visit(const Stmt *Node);
H A DDeclBase.h66 class Stmt;
1009 /// top-level Stmt* of that body. Otherwise this method returns null.
1010 virtual Stmt* getBody() const { return nullptr; }
H A DDeclObjC.h58 class Stmt;
284 // Location information, modeled after the Stmt API.
520 Stmt *getBody() const override;
525 void setBody(Stmt *B) { Body = B; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp77 case NodeAttrs::Stmt: OS << 's'; break;
255 case NodeAttrs::Stmt:
554 if (M.Addr->getKind() == NodeAttrs::Stmt) {
847 NodeAddr<StmtNode*> SA = newNode(NodeAttrs::Code | NodeAttrs::Stmt);
1183 if (IA.Addr->getKind() == NodeAttrs::Stmt)
1663 if (IA.Addr->getKind() == NodeAttrs::Stmt) {
1671 if (IA.Addr->getKind() == NodeAttrs::Stmt)
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp979 bool nextStep(const Stmt *S) {
4647 const Stmt *S,
4652 const Stmt *Body,
4682 if (const Stmt *Init = SS->getInit()) {
4749 const Stmt *S, const SwitchCase *Case) {
4757 case Stmt::CompoundStmtClass:
4761 case Stmt::LabelStmtClass:
4762 case Stmt::AttributedStmtClass:
4763 case Stmt::DoStmtClass:
4766 case Stmt
[all...]
H A DDecl.cpp34 #include "clang/AST/Stmt.h"
2225 if (auto *S = Init.dyn_cast<Stmt *>())
2231 Stmt **VarDecl::getInitAddress() {
2337 Eval->Value = Init.get<Stmt *>();
2742 return cast_or_null<Expr>(Init.get<Stmt *>());
2858 Stmt *S = getBody();
2881 Stmt *FunctionDecl::getBody(const FunctionDecl *&Definition) const {
2893 void FunctionDecl::setBody(Stmt *B) {
4760 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); }
4761 void CapturedDecl::setBody(Stmt *
[all...]
H A DASTImporter.cpp37 #include "clang/AST/Stmt.h"
80 using ExpectedStmt = llvm::Expected<Stmt *>;
541 ExpectedStmt VisitStmt(Stmt *S);
3085 if (Stmt *FromBody = FromFD->getBody()) {
5875 ExpectedStmt ASTNodeImporter::VisitStmt(Stmt *S) {
5984 SmallVector<Stmt *, 8> ToStmts(S->size());
6240 SmallVector<Stmt *, 1> ToHandlers(S->getNumHandlers());
6328 SmallVector<Stmt *, 1> ToCatchStmts(S->getNumCatchStmts());
6945 case Stmt::CStyleCastExprClass: {
6959 case Stmt
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp20 #include "clang/AST/Stmt.h"
79 if (const Stmt *StmtNode = Block->getTerminatorStmt()) {
460 using MapType = llvm::DenseMap<const Stmt *, PropagationInfo>;
461 using PairType= std::pair<const Stmt *, PropagationInfo>;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp184 const Stmt *Body = D->getBody();
291 const Stmt *Body = D->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp150 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &C) const;
235 void IteratorModeling::checkBind(SVal Loc, SVal Val, const Stmt *S,
H A DMacOSKeychainAPIChecker.cpp487 const Stmt *AllocStmt = AllocNode->getStmtForDiagnostics();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp639 static bool isAccessedBy(const VarDecl &var, const Stmt *s) {
656 for (const Stmt *SubStmt : s->children())
1600 static bool isCapturedBy(const VarDecl &Var, const Stmt *S) {
1603 for (const Stmt *SubStmt : S->children())
1651 for (const Stmt *SubStmt : E->children())
H A DCGClass.cpp858 Stmt *Body = Ctor->getBody(Definition);
1161 FieldDecl *getMemcpyableField(Stmt *S) {
1174 Stmt *RHS = BO->getRHS();
1230 SmallVector<Stmt*, 16> AggregatedStmts;
1240 void emitAssignment(Stmt *S) {
1460 Stmt *Body = Dtor->getBody();
1557 const Stmt *RootS = AssignOp->getBody();
H A DCGOpenMPRuntime.h738 void scanForTargetRegionsFunctions(const Stmt *S, StringRef ParentName);
890 static const Stmt *getSingleCompoundChild(ASTContext &Ctx, const Stmt *Body);
H A DCodeGenModule.h66 class Stmt;
1120 void ErrorUnsupported(const Stmt *S, const char *Type);
H A DCGStmtOpenMP.cpp22 #include "clang/AST/Stmt.h"
160 const Stmt *Body =
171 if (const Stmt *Init = CXXFor->getInit())
1697 const Stmt *ParallelRegionBodyStmt = CS->getCapturedStmt();
1748 static void emitBody(CodeGenFunction &CGF, const Stmt *S, const Stmt *NextLoop,
1751 const Stmt *SimplifiedS = S->IgnoreContainers();
1759 for (const Stmt *CurStmt : CS->body())
1834 const Stmt *Body =
1866 const Stmt *S
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp307 ProgramStateRef ProgramState::BindExpr(const Stmt *S,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp628 const Stmt *Body = D->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp233 for (const Stmt *Child : Ex->children()) {
1137 void RetainCountChecker::checkBind(SVal loc, SVal val, const Stmt *S,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2871 StmtResult Stmt(ParseCompoundStatement(true));
2875 if (!Stmt.isInvalid()) {
2876 Result = Actions.ActOnStmtExpr(getCurScope(), OpenLoc, Stmt.get(),
3572 StmtResult Stmt(ParseCompoundStatementBody());
3574 if (!Stmt.isInvalid())
3575 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp10857 case Stmt::ObjCArrayLiteralClass:
10858 case Stmt::ObjCDictionaryLiteralClass:
10859 case Stmt::ObjCStringLiteralClass:
10860 case Stmt::ObjCBoxedExprClass:
10919 case Stmt::ObjCStringLiteralClass:
10922 case Stmt::ObjCArrayLiteralClass:
10925 case Stmt::ObjCDictionaryLiteralClass:
10928 case Stmt::BlockExprClass:
10930 case Stmt::ObjCBoxedExprClass: {
10933 case Stmt
[all...]
H A DSemaInit.cpp931 for (const Stmt *Init : *IL)
7013 case Stmt::DeclRefExprClass: {
7036 case Stmt::UnaryOperatorClass: {
7047 case Stmt::OMPArraySectionExprClass: {
7054 case Stmt::ConditionalOperatorClass:
7055 case Stmt::BinaryConditionalOperatorClass: {
7259 case Stmt::UnaryOperatorClass: {
7278 case Stmt::BinaryOperatorClass: {
7294 case Stmt::ConditionalOperatorClass:
7295 case Stmt
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h70 class Stmt;
489 Undefined(const Stmt *S = nullptr) : SExpr(COP_Undefined), Cstmt(S) {}
505 const Stmt *Cstmt;

Completed in 717 milliseconds

<<111213