Home
last modified time | relevance | path

Searched refs:Ifdef (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp38 { tgtok::Ifdef, "ifdef" },
678 if (Kind == tgtok::Ifdef || Kind == tgtok::Ifndef) { in lexPreprocessor()
680 StringRef IfTokName = Kind == tgtok::Ifdef ? "#ifdef" : "#ifndef"; in lexPreprocessor()
689 Kind = tgtok::Ifdef; in lexPreprocessor()
727 if (IfdefEntry.Kind != tgtok::Ifdef) { in lexPreprocessor()
760 if (IfdefOrElseEntry.Kind != tgtok::Ifdef && in lexPreprocessor()
DTGLexer.h69 Ifdef, Ifndef, Else, Endif, Define enumerator
/external/llvm-project/llvm/lib/TableGen/
DTGLexer.cpp39 { tgtok::Ifdef, "ifdef" },
704 if (Kind == tgtok::Ifdef || Kind == tgtok::Ifndef) { in lexPreprocessor()
706 StringRef IfTokName = Kind == tgtok::Ifdef ? "#ifdef" : "#ifndef"; in lexPreprocessor()
715 Kind = tgtok::Ifdef; in lexPreprocessor()
753 if (IfdefEntry.Kind != tgtok::Ifdef) { in lexPreprocessor()
786 if (IfdefOrElseEntry.Kind != tgtok::Ifdef && in lexPreprocessor()
DTGLexer.h75 Ifdef, Ifndef, Else, Endif, Define enumerator
/external/clang/include/clang/Lex/
DPPCallbacks.h298 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function
481 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function
483 First->Ifdef(Loc, MacroNameTok, MD); in Ifdef()
484 Second->Ifdef(Loc, MacroNameTok, MD); in Ifdef()
DPPConditionalDirectiveRecord.h93 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
DPreprocessingRecord.h499 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
/external/llvm-project/clang/include/clang/Lex/
DPPCallbacks.h350 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function
583 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function
585 First->Ifdef(Loc, MacroNameTok, MD); in Ifdef()
586 Second->Ifdef(Loc, MacroNameTok, MD); in Ifdef()
DPPConditionalDirectiveRecord.h92 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
DPreprocessingRecord.h537 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.h38 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
DFindAllMacros.cpp53 void FindAllMacros::Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function in clang::find_all_symbols::FindAllMacros
/external/llvm-project/clang-tools-extra/clangd/
DCollectMacros.h66 void Ifdef(SourceLocation Loc, const Token &MacroName, in Ifdef() function
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantPreprocessorCheck.cpp46 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function in clang::tidy::readability::__anonb46008580111::RedundantPreprocessorCallbacks
/external/llvm-project/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() function in PPConditionalDirectiveRecord
DPreprocessingRecord.cpp406 void PreprocessingRecord::Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function in PreprocessingRecord
/external/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() function in PPConditionalDirectiveRecord
DPreprocessingRecord.cpp383 void PreprocessingRecord::Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function in PreprocessingRecord
/external/llvm-project/clang-tools-extra/clang-tidy/
DExpandModularHeadersPPCallbacks.h114 void Ifdef(SourceLocation Loc, const Token &,
DExpandModularHeadersPPCallbacks.cpp290 void ExpandModularHeadersPPCallbacks::Ifdef(SourceLocation Loc, const Token &, in Ifdef() function in clang::tooling::ExpandModularHeadersPPCallbacks
/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.h143 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DUpgradeGoogletestCaseCheck.cpp80 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, in Ifdef() function in clang::tidy::google::__anonde3eb0c00111::UpgradeGoogletestCasePPCallback
/external/angle/src/tests/preprocessor_tests/
Dif_test.cpp600 TEST_F(IfTest, Ifdef) in TEST_F() argument
/external/llvm-project/clang-tools-extra/docs/
Dpp-trace.rst76 * Ifdef
721 `Ifdef <https://clang.llvm.org/doxygen/classclang_1_1PPCallbacks.html#a0ce79575dda307784fd51a6dd4ee…
724 Ifdef is called when an #ifdef is seen.
738 - Callback: Ifdef
/external/llvm-project/clang/unittests/Lex/
DDependencyDirectivesSourceMinimizerTest.cpp293 TEST(MinimizeSourceToDependencyDirectivesTest, Ifdef) { in TEST() argument

12