/external/clang/include/clang/Lex/ |
H A D | PPConditionalDirectiveRecord.h | 92 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 97 void Else(SourceLocation Loc, SourceLocation IfLoc) override; 98 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
|
H A D | PPCallbacks.h | 287 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive. 290 ConditionValueKind ConditionValue, SourceLocation IfLoc) { 311 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive. 312 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { argument 317 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive. 318 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { argument 474 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { 475 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); 476 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); 494 void Else(SourceLocation Loc, SourceLocation IfLoc) overrid 289 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument [all...] |
H A D | PreprocessorLexer.h | 100 CI.IfLoc = DirectiveStart;
|
H A D | Token.h | 299 SourceLocation IfLoc; member in struct:clang::PPConditionalInfo
|
/external/clang/lib/Lex/ |
H A D | PPConditionalDirectiveRecord.cpp | 102 SourceLocation IfLoc) { 108 SourceLocation IfLoc) { 114 SourceLocation IfLoc) { 99 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument 107 Else(SourceLocation Loc, SourceLocation IfLoc) argument 113 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
|
H A D | PPDirectives.cpp | 330 Diag(CurPPLexer->ConditionalStack.back().IfLoc, 427 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); 454 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); 482 (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); 2449 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); 2474 Callbacks->Else(Result.getLocation(), CI.IfLoc); 2477 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, 2509 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); 2512 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true,
|
H A D | PTHLexer.cpp | 143 PP->Diag(ConditionalStack.back().IfLoc,
|
H A D | Lexer.cpp | 2504 PP->Diag(ConditionalStack.back().IfLoc,
|
/external/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 1081 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. local 1108 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) 1111 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); 1195 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
H A D | toy.cpp | 505 SourceLocation IfLoc = CurLoc; local 531 return new IfExprAST(IfLoc, Cond, Then, Else);
|
/external/clang/include/clang/AST/ |
H A D | Stmt.h | 881 SourceLocation IfLoc; member in class:clang::IfStmt 920 SourceLocation getIfLoc() const { return IfLoc; } 921 void setIfLoc(SourceLocation L) { IfLoc = L; } 925 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; }
|
/external/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 482 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, argument 497 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); 514 return new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr,
|
H A D | TreeTransform.h | 1143 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, argument 1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else);
|
/external/clang/lib/AST/ |
H A D | Stmt.cpp | 884 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL)
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 3087 StmtResult ActOnIfStmt(SourceLocation IfLoc,
|