Home
last modified time | relevance | path

Searched refs:ConditionRange (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp69 SourceRange ConditionRange; member
73 : ConditionRange(R), ConditionValue(K) {} in Result()
78 void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
80 Results.emplace_back(ConditionRange, ConditionValue); in If()
83 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
85 Results.emplace_back(ConditionRange, ConditionValue); in Elif()
431 GetSourceStringToEnd(CharSourceRange(Results1[0].ConditionRange, false)), in TEST_F()
437 GetSourceStringToEnd(CharSourceRange(Results2[0].ConditionRange, false)), in TEST_F()
443 GetSourceStringToEnd(CharSourceRange(Results3[0].ConditionRange, false)), in TEST_F()
449 GetSourceStringToEnd(CharSourceRange(Results4[0].ConditionRange, false)), in TEST_F()
[all …]
/external/clang/include/clang/Lex/
DPPCallbacks.h280 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
290 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
467 void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
469 First->If(Loc, ConditionRange, ConditionValue); in If()
470 Second->If(Loc, ConditionRange, ConditionValue); in If()
474 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
476 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
477 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
DPPConditionalDirectiveRecord.h89 void If(SourceLocation Loc, SourceRange ConditionRange,
91 void Elif(SourceLocation Loc, SourceRange ConditionRange,
/external/llvm-project/clang/include/clang/Lex/
DPPCallbacks.h332 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
342 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
569 void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
571 First->If(Loc, ConditionRange, ConditionValue); in If()
572 Second->If(Loc, ConditionRange, ConditionValue); in If()
576 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
578 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
579 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
DPPConditionalDirectiveRecord.h88 void If(SourceLocation Loc, SourceRange ConditionRange,
90 void Elif(SourceLocation Loc, SourceRange ConditionRange,
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantPreprocessorCheck.cpp38 void If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
41 Lexer::getSourceText(CharSourceRange::getTokenRange(ConditionRange), in If()
/external/llvm-project/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp76 SourceRange ConditionRange, in If() argument
97 SourceRange ConditionRange, in Elif() argument
DPPExpressions.cpp867 SourceRange ConditionRange = ExprStartLoc; in EvaluateDirectiveExpression() local
869 ConditionRange = DiscardUntilEndOfDirective(); in EvaluateDirectiveExpression()
879 {ExprStartLoc, ConditionRange.getEnd()}}; in EvaluateDirectiveExpression()
DPPDirectives.cpp3121 SourceRange ConditionRange = DiscardUntilEndOfDirective(); in HandleElifDirective() local
3137 Callbacks->Elif(ElifToken.getLocation(), ConditionRange, in HandleElifDirective()
/external/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp79 SourceRange ConditionRange, in If() argument
100 SourceRange ConditionRange, in Elif() argument
/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.cpp365 void PPCallbacksTracker::If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
369 appendArgument("ConditionRange", ConditionRange); in If()
374 void PPCallbacksTracker::Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
379 appendArgument("ConditionRange", ConditionRange); in Elif()
DPPCallbacksTracker.h139 void If(SourceLocation Loc, SourceRange ConditionRange,
141 void Elif(SourceLocation Loc, SourceRange ConditionRange,
/external/llvm-project/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp83 void If(SourceLocation Loc, SourceRange ConditionRange,
85 void Elif(SourceLocation Loc, SourceRange ConditionRange,
207 void InclusionRewriter::If(SourceLocation Loc, SourceRange ConditionRange, in If() argument
214 void InclusionRewriter::Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() argument
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp752 void If(clang::SourceLocation Loc, clang::SourceRange ConditionRange,
754 void Elif(clang::SourceLocation Loc, clang::SourceRange ConditionRange,
1344 clang::SourceRange ConditionRange, in If() argument
1346 std::string Unexpanded(getSourceString(PP, ConditionRange)); in If()
1353 clang::SourceRange ConditionRange, in Elif() argument
1356 std::string Unexpanded(getSourceString(PP, ConditionRange)); in Elif()
/external/llvm-project/clang-tools-extra/docs/
Dpp-trace.rst686 ConditionRange ["(file):(line):(col)", "(file):(line):(col)"] SourceRange …
694ConditionRange: ["D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-macro.cpp:8:4", "D:/Clang…
708 ConditionRange ["(file):(line):(col)", "(file):(line):(col)"] SourceRange …
717ConditionRange: ["D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-macro.cpp:10:4", "D:/Clan…