| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 315 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument 337 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 343 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 531 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 532 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 550 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument 551 First->Else(Loc, IfLoc); in Else() 552 Second->Else(Loc, IfLoc); in Else() 556 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument 557 First->Endif(Loc, IfLoc); in Endif() [all …]
|
| 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 | PreprocessorLexer.h | 97 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
|
| H A D | Token.h | 315 SourceLocation IfLoc; member
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 102 SourceLocation IfLoc) { in Elif() argument 108 SourceLocation IfLoc) { in Else() argument 114 SourceLocation IfLoc) { in Endif() argument
|
| H A D | PPDirectives.cpp | 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() 2855 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 2880 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 2885 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective() 2891 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective() 2925 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective() 2937 HashToken.getLocation(), CI.IfLoc, /*Foundnonskip*/ true, in HandleElifDirective()
|
| H A D | Lexer.cpp | 2738 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Stmt.h | 172 SourceLocation IfLoc; in alignas() local 1846 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc() 1847 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1152 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1187 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1290 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 538 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument 547 IfLoc), in ActOnIfStmt() 560 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt() 564 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument 577 return IfStmt::Create(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
|
| H A D | TreeTransform.h | 1256 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument 1259 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3761 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, 3765 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2467 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
|