Home
last modified time | relevance | path

Searched refs:IfLoc (Results 1 – 15 of 15) sorted by relevance

/external/clang/include/clang/Lex/
DPPCallbacks.h290 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument
312 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
318 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
474 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument
475 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
476 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
494 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument
495 First->Else(Loc, IfLoc); in Else()
496 Second->Else(Loc, IfLoc); in Else()
500 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument
[all …]
DPPConditionalDirectiveRecord.h92 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
97 void Else(SourceLocation Loc, SourceLocation IfLoc) override;
98 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
DPreprocessorLexer.h100 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
DToken.h299 SourceLocation IfLoc; member
/external/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp102 SourceLocation IfLoc) { in Elif() argument
108 SourceLocation IfLoc) { in Else() argument
114 SourceLocation IfLoc) { in Endif() argument
DPPDirectives.cpp330 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
427 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
454 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
482 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
2449 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
2474 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
2477 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective()
2509 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
2512 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
DPTHLexer.cpp143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
DLexer.cpp2504 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/external/clang/lib/Parse/
DParseStmt.cpp1081 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1108 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1111 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); in ParseIfStatement()
1195 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
/external/clang/include/clang/AST/
DStmt.h881 SourceLocation IfLoc; variable
920 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc()
921 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc()
925 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; } in getLocStart()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp505 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local
531 return new IfExprAST(IfLoc, Cond, Then, Else); in ParseIfExpr()
/external/clang/lib/Sema/
DSemaStmt.cpp482 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
497 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
514 return new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
DTreeTransform.h1143 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, in RebuildIfStmt() argument
1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
/external/clang/lib/AST/
DStmt.cpp884 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) in IfStmt()
/external/clang/include/clang/Sema/
DSema.h3087 StmtResult ActOnIfStmt(SourceLocation IfLoc,