/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 291 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument 313 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 319 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 475 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument 476 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 477 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 495 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument 496 First->Else(Loc, IfLoc); in Else() 497 Second->Else(Loc, IfLoc); in Else() 501 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument [all …]
|
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;
|
D | PreprocessorLexer.h | 100 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
|
D | Token.h | 306 SourceLocation IfLoc; member
|
/external/clang/lib/Lex/ |
D | PPConditionalDirectiveRecord.cpp | 102 SourceLocation IfLoc) { in Elif() argument 108 SourceLocation IfLoc) { in Else() argument 114 SourceLocation IfLoc) { in Endif() argument
|
D | PPDirectives.cpp | 320 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock() 417 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 444 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 472 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 2505 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 2530 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 2533 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective() 2565 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective() 2568 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
|
D | PTHLexer.cpp | 143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
D | Lexer.cpp | 2508 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1091 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1118 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement() 1121 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); in ParseIfStatement() 1205 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 873 SourceLocation IfLoc; variable 912 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc() 913 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc() 917 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; } in getLocStart()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 502 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local 528 return llvm::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then), in ParseIfExpr()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 492 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 500 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt() 501 CondResult = ActOnFinishFullExpr(CondResult.get(), IfLoc); in ActOnIfStmt() 519 return new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
|
D | TreeTransform.h | 1164 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, in RebuildIfStmt() argument 1167 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 761 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) in IfStmt()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3316 StmtResult ActOnIfStmt(SourceLocation IfLoc,
|