Searched refs:StmtResult (Results 1 - 19 of 19) sorted by relevance

/external/clang/include/clang/Sema/
H A DOwnership.h243 typedef ActionResult<Stmt*> StmtResult; typedef in namespace:clang
258 inline StmtResult StmtError() { return StmtResult(true); }
261 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); }
264 inline StmtResult StmtEmpty() { return StmtResult(false); }
271 inline Stmt *AssertSuccess(StmtResult R) {
H A DSema.h958 StmtResult Owned(Stmt* S) { return S; }
2526 StmtResult ProcessStmtAttributes(Stmt *Stmt, AttributeList *Attrs,
2775 StmtResult ActOnExprStmt(ExprResult Arg);
2776 StmtResult ActOnExprStmtError();
2778 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
2783 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R,
2802 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl,
2806 StmtResult ActOnForEachLValueExpr(Expr *E);
2807 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,
2812 StmtResult ActOnDefaultStm
[all...]
/external/clang/lib/Parse/
H A DParseStmt.cpp93 StmtResult
102 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts,
114 StmtResult
119 StmtResult Res;
329 StmtResult Parser::ParseExprStatement() {
361 StmtResult Parser::ParseSEHTryBlock() {
376 StmtResult Parser::ParseSEHTryBlockCommon(SourceLocation TryLoc) {
380 StmtResult TryBlock(ParseCompoundStatement());
384 StmtResult Handler;
410 StmtResult Parse
[all...]
H A DParseOpenMP.cpp81 StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective() {
92 StmtResult Directive = StmtError();
135 StmtResult AssociatedStmt;
H A DParseObjc.cpp1772 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) {
1790 StmtResult
1825 StmtResult body(ParseCompoundStatementBody());
1850 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) {
1859 StmtResult FinallyStmt;
1861 StmtResult TryBody(ParseCompoundStatementBody());
1901 StmtResult CatchBody(true);
1909 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
1927 StmtResult FinallyBody(true);
1953 StmtResult
[all...]
H A DParsePragma.cpp127 StmtResult Parser::HandlePragmaCaptured()
143 StmtResult R = ParseCompoundStatement();
H A DParseExpr.cpp2000 StmtResult Stmt(ParseCompoundStatement(true));
2502 StmtResult Stmt(ParseCompoundStatementBody());
H A DParseExprCXX.cpp1066 StmtResult Stmt(ParseCompoundStatementBody());
/external/clang/include/clang/Parse/
H A DParser.h242 typedef clang::StmtResult StmtResult; typedef in class:clang::Parser
252 StmtResult StmtError() { return StmtResult(true); }
255 StmtResult StmtError(const DiagnosticBuilder &) { return StmtError(); }
455 StmtResult HandlePragmaCaptured();
1474 StmtResult ParseStatement(SourceLocation *TrailingElseLoc = 0) {
1478 StmtResult ParseStatementOrDeclaration(StmtVector &Stmts,
1481 StmtResult ParseStatementOrDeclarationAfterAttributes(
1486 StmtResult ParseExprStatemen
[all...]
/external/clang/lib/Sema/
H A DSemaStmt.cpp38 StmtResult Sema::ActOnExprStmt(ExprResult FE) {
56 StmtResult Sema::ActOnExprStmtError() {
61 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc,
66 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc,
294 StmtResult
340 StmtResult
388 StmtResult
403 StmtResult
423 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc,
431 StmtResult
[all...]
H A DSemaStmtAttr.cpp67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
H A DTreeTransform.h134 static inline StmtResult Owned(Stmt *S) { return S; }
315 StmtResult TransformStmt(Stmt *S);
547 StmtResult
591 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
602 StmtResult Transform##Node(Node *S);
1029 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc,
1041 StmtResult RebuildCaseStmt(SourceLocation CaseLoc,
1054 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) {
1063 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc,
1074 StmtResult RebuildLabelStm
[all...]
H A DSemaOpenMP.cpp202 StmtResult Sema::ActOnOpenMPExecutableDirective(OpenMPDirectiveKind Kind,
207 StmtResult Res = StmtError();
222 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
H A DSemaStmtAsm.cpp77 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple,
472 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
H A DSemaDeclCXX.cpp8493 static StmtResult
8568 /// \returns A statement or a loop that copies the expressions, or StmtResult(0)
8570 static StmtResult
8666 return StmtResult((Stmt*)0);
8732 StmtResult Copy =
8761 static StmtResult
8770 StmtResult Result(buildSingleCopyAssignRecursively(S, Loc, T, To, From,
9064 StmtResult Copy = buildSingleCopyAssign(*this, Loc, BaseType,
9143 StmtResult Copy = buildSingleCopyAssign(*this, Loc, FieldType,
9162 StmtResult Retur
[all...]
H A DSemaTemplateInstantiate.cpp2625 StmtResult
H A DSemaTemplateInstantiateDecl.cpp3214 StmtResult Body = SubstStmt(Pattern, TemplateArgs);
H A DSemaExprCXX.cpp5698 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) {
H A DSemaExpr.cpp10766 StmtResult TransformLabelStmt(LabelStmt *S) {

Completed in 221 milliseconds