/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | PPCallbacks.h | 405 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument 429 SourceLocation IfLoc) { in Elifdef() argument 453 SourceLocation IfLoc) { in Elifndef() argument 459 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 465 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 707 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument 708 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 709 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 727 SourceLocation IfLoc) override { in Elifdef() argument 728 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 | Token.h | 327 SourceLocation IfLoc; member
|
/freebsd/contrib/llvm-project/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 | 682 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 713 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 752 CondInfo.IfLoc); in SkipExcludedConditionalBlock() 3500 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 3525 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 3533 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective() 3539 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective() 3593 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifFamilyDirective() 3596 Callbacks->Elifdef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective() 3599 Callbacks->Elifndef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective() [all …]
|
H A D | Lexer.cpp | 3161 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 84 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 212 SourceLocation IfLoc) { in Elif() argument
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 1503 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1560 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1592 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement() 1715 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 205 SourceLocation IfLoc; 2309 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } 2310 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; }
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 908 StmtResult Sema::ActOnIfStmt(SourceLocation IfLoc, in ActOnIfStmt() argument 939 Diags.Report(IfLoc, in ActOnIfStmt() 942 << SourceRange(IfLoc, (ConstevalOrNegatedConsteval in ActOnIfStmt() 974 Diags.Report(IfLoc, diag::warn_consteval_if_always_true) << Immediate; in ActOnIfStmt() 977 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt() 981 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, in BuildIfStmt() argument 994 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt()
|
H A D | TreeTransform.h | 1415 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt() argument 1419 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10713 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind, 10717 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2520 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
|