/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/llvm-project/clang/include/clang/Lex/ |
D | PPCallbacks.h | 343 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument 365 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 371 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 577 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument 578 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 579 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif() 597 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument 598 First->Else(Loc, IfLoc); in Else() 599 Second->Else(Loc, IfLoc); in Else() 603 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument [all …]
|
D | PPConditionalDirectiveRecord.h | 91 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 96 void Else(SourceLocation Loc, SourceLocation IfLoc) override; 97 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
|
D | PreprocessorLexer.h | 95 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
|
D | Token.h | 317 SourceLocation IfLoc; member
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantPreprocessorCheck.cpp | 63 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument 64 if (!IfStack.empty() && IfLoc == IfStack.back().Loc) in Endif() 66 if (!IfdefStack.empty() && IfLoc == IfdefStack.back().Loc) in Endif() 68 if (!IfndefStack.empty() && IfLoc == IfndefStack.back().Loc) in Endif()
|
D | MisleadingIndentationCheck.cpp | 36 SourceLocation IfLoc = If->getIfLoc(); in danglingElseCheck() local 39 if (IfLoc.isMacroID() || ElseLoc.isMacroID()) in danglingElseCheck() 49 IfLoc = PrecedingIf->getIfLoc(); in danglingElseCheck() 51 if (SM.getExpansionColumnNumber(IfLoc) != in danglingElseCheck()
|
D | ElseAfterReturnCheck.cpp | 31 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument 32 if (!SM.isWrittenInSameFile(Loc, IfLoc)) in Endif() 36 Collection.emplace_back(IfLoc, Loc); in Endif()
|
/external/llvm-project/clang/lib/Lex/ |
D | PPConditionalDirectiveRecord.cpp | 99 SourceLocation IfLoc) { in Elif() argument 105 SourceLocation IfLoc) { in Else() argument 111 SourceLocation IfLoc) { in Endif() argument
|
D | PPDirectives.cpp | 548 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 575 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock() 603 CondInfo.IfLoc); in SkipExcludedConditionalBlock() 3068 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective() 3093 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective() 3101 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective() 3107 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective() 3138 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective() 3153 HashToken.getLocation(), CI.IfLoc, /*Foundnonskip*/ true, in HandleElifDirective()
|
/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()
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.cpp | 376 SourceLocation IfLoc) { in Elif() argument 381 appendArgument("IfLoc", IfLoc); in Elif() 403 void PPCallbacksTracker::Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument 406 appendArgument("IfLoc", IfLoc); in Else() 410 void PPCallbacksTracker::Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument 413 appendArgument("IfLoc", IfLoc); in Endif()
|
D | PPCallbacksTracker.h | 142 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 147 void Else(SourceLocation Loc, SourceLocation IfLoc) override; 148 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | HeaderGuard.cpp | 64 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument 66 EndIfs[IfLoc] = Loc; in Endif()
|
/external/llvm-project/clang-tools-extra/docs/ |
D | pp-trace.rst | 710 IfLoc "(file):(line):(col)" SourceLocation … 719 IfLoc: "D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-macro.cpp:8:2" 776 IfLoc "(file):(line):(col)" SourceLocation … 783 IfLoc: "D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-macro.cpp:8:2" 796 IfLoc "(file):(line):(col)" SourceLocation … 803 IfLoc: "D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-macro.cpp:8:2"
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 86 ConditionValueKind ConditionValue, SourceLocation IfLoc) override; 216 SourceLocation IfLoc) { in Elif() argument
|
/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/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 84 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 1336 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local 1373 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1405 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement() 1489 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Stmt.h | 176 SourceLocation IfLoc; variable 2063 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc() 2064 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
|
/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()
|