/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 | 307 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 | 401 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock() 498 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 525 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 553 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 2708 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 2733 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 2736 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective() 2768 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective() 2771 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
|
D | PTHLexer.cpp | 143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
D | Lexer.cpp | 2536 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 885 SourceLocation IfLoc; variable 928 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc() 929 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc() 936 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; } in getLocStart()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1111 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1146 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1247 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 503 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local 529 return llvm::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then), in ParseIfExpr()
|
/external/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 503 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local 529 return llvm::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then), in ParseIfExpr()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 507 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument 516 IfLoc), in ActOnIfStmt() 528 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt() 532 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument 546 IfStmt(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
|
D | TreeTransform.h | 1176 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument 1179 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 769 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) { in IfStmt()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3399 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, 3403 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
|