| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 369 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument 393 SourceLocation IfLoc) { in Elifdef() argument 417 SourceLocation IfLoc) { in Elifndef() argument 423 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 429 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 649 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument 650 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 651 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 669 SourceLocation IfLoc) override { in Elifdef() argument 670 First->Elifdef(Loc, ConditionRange, IfLoc); in Elifdef() [all …]
|
| H A D | PPConditionalDirectiveRecord.h | 91 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 99 SourceLocation IfLoc) override; 103 SourceLocation IfLoc) override; 104 void Else(SourceLocation Loc, SourceLocation IfLoc) override; 105 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
|
| H A D | PreprocessorLexer.h | 96 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
|
| H A D | Token.h | 319 SourceLocation IfLoc; member
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 99 SourceLocation IfLoc) { in Elif() argument 127 SourceLocation IfLoc) { in Else() argument 133 SourceLocation IfLoc) { in Endif() argument
|
| H A D | PPDirectives.cpp | 661 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 692 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 731 CondInfo.IfLoc); in SkipExcludedConditionalBlock() 3366 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 3391 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 3399 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective() 3405 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective() 3459 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifFamilyDirective() 3462 Callbacks->Elifdef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective() 3465 Callbacks->Elifndef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective() [all …]
|
| H A D | Lexer.cpp | 3035 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | InclusionRewriter.cpp | 83 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 208 SourceLocation IfLoc) { in Elif() argument
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Stmt.h | 181 SourceLocation IfLoc; variable 2111 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc() 2112 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1441 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1495 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1527 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement() 1650 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 503 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local 529 return std::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then), in ParseIfExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 878 StmtResult Sema::ActOnIfStmt(SourceLocation IfLoc, in ActOnIfStmt() argument 909 Diags.Report(IfLoc, in ActOnIfStmt() 912 << SourceRange(IfLoc, (ConstevalOrNegatedConsteval in ActOnIfStmt() 943 Diags.Report(IfLoc, diag::warn_consteval_if_always_true) << Immediate; in ActOnIfStmt() 946 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt() 950 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, in BuildIfStmt() argument 963 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt()
|
| H A D | TreeTransform.h | 1369 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt() argument 1373 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 5078 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind, 5082 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2329 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
|