Home
last modified time | relevance | path

Searched refs:PPCallbacks (Results 1 – 25 of 99) sorted by relevance

1234

/external/llvm-project/clang/lib/Lex/
DPPCallbacks.cpp15 PPCallbacks::~PPCallbacks() = default;
17 void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, in HasInclude()
DPragma.cpp484 PPCallbacks::SystemHeaderPragma, SrcMgr::C_System); in HandlePragmaSystemHeader()
1130 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1188 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1276 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1398 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1475 const PPCallbacks::PragmaMessageKind Kind;
1478 static const char* PragmaKind(PPCallbacks::PragmaMessageKind Kind, in PragmaKind()
1481 case PPCallbacks::PMK_Message: in PragmaKind()
1483 case PPCallbacks::PMK_Warning: in PragmaKind()
1485 case PPCallbacks::PMK_Error: in PragmaKind()
[all …]
DCMakeLists.txt15 PPCallbacks.cpp
/external/clang/lib/Frontend/
DHeaderIncludeGen.cpp20 class HeaderIncludesCallback : public PPCallbacks {
125 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
127 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged()
161 if (ShowHeader && Reason == PPCallbacks::EnterFile && in FileChanged()
DPrintPreprocessedOutput.cpp80 class PrintPPOutputPPCallbacks : public PPCallbacks {
262 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
266 } else if (Reason == PPCallbacks::SystemHeaderPragma) { in FileChanged()
295 if (Reason == PPCallbacks::EnterFile && !IsFirstFileEntered) { in FileChanged()
301 case PPCallbacks::EnterFile: in FileChanged()
304 case PPCallbacks::ExitFile: in FileChanged()
307 case PPCallbacks::SystemHeaderPragma: in FileChanged()
308 case PPCallbacks::RenameFile: in FileChanged()
779 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in DoPrintPreprocessedInput()
DDependencyFile.cpp34 struct DepCollectorPPCallbacks : public PPCallbacks {
43 if (Reason != PPCallbacks::EnterFile) in FileChanged()
153 class DFGImpl : public PPCallbacks {
246 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callback)); in CreateAndAttachToPreprocessor()
275 if (Reason != PPCallbacks::EnterFile) in FileChanged()
/external/llvm-project/clang/lib/Frontend/
DHeaderIncludeGen.cpp19 class HeaderIncludesCallback : public PPCallbacks {
139 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
141 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged()
178 if (ShowHeader && Reason == PPCallbacks::EnterFile && in FileChanged()
DPrintPreprocessedOutput.cpp79 class PrintPPOutputPPCallbacks : public PPCallbacks {
273 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
277 } else if (Reason == PPCallbacks::SystemHeaderPragma) { in FileChanged()
306 if (Reason == PPCallbacks::EnterFile && !IsFirstFileEntered) { in FileChanged()
312 case PPCallbacks::EnterFile: in FileChanged()
315 case PPCallbacks::ExitFile: in FileChanged()
318 case PPCallbacks::SystemHeaderPragma: in FileChanged()
319 case PPCallbacks::RenameFile: in FileChanged()
905 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in DoPrintPreprocessedInput()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp637 …ConditionalExpansionInstance(clang::PPCallbacks::ConditionValueKind ConditionValue, InclusionPathH… in ConditionalExpansionInstance()
660 clang::PPCallbacks::ConditionValueKind ConditionValue;
675 clang::PPCallbacks::ConditionValueKind ConditionValue, in ConditionalTracker()
685 findConditionalExpansionInstance(clang::PPCallbacks::ConditionValueKind ConditionValue) { in findConditionalExpansionInstance()
698 addConditionalExpansionInstance(clang::PPCallbacks::ConditionValueKind ConditionValue, in addConditionalExpansionInstance()
725 class PreprocessorCallbacks : public clang::PPCallbacks {
743 clang::PPCallbacks::FileChangeReason Reason,
753 clang::PPCallbacks::ConditionValueKind ConditionResult) override;
755 clang::PPCallbacks::ConditionValueKind ConditionResult,
1087 clang::PPCallbacks::ConditionValueKind ConditionValue, in addConditionalExpansionInstance()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DHeaders.cpp27 class RecordHeaders : public PPCallbacks {
79 case PPCallbacks::EnterFile: in FileChanged()
85 case PPCallbacks::ExitFile: in FileChanged()
89 case PPCallbacks::RenameFile: in FileChanged()
90 case PPCallbacks::SystemHeaderPragma: in FileChanged()
151 std::unique_ptr<PPCallbacks>
DParsedAST.cpp117 class ReplayPreamble : private PPCallbacks {
129 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(new ReplayPreamble( in attach()
139 ReplayPreamble(std::vector<Inclusion> Includes, PPCallbacks *Delegate, in ReplayPreamble()
232 PPCallbacks *Delegate;
/external/clang/lib/Lex/
DPragma.cpp442 PPCallbacks::SystemHeaderPragma, SrcMgr::C_System); in HandlePragmaSystemHeader()
921 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
981 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1060 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1194 const PPCallbacks::PragmaMessageKind Kind;
1197 static const char* PragmaKind(PPCallbacks::PragmaMessageKind Kind, in PragmaKind()
1200 case PPCallbacks::PMK_Message: in PragmaKind()
1202 case PPCallbacks::PMK_Warning: in PragmaKind()
1204 case PPCallbacks::PMK_Error: in PragmaKind()
1211 PragmaMessageHandler(PPCallbacks::PragmaMessageKind Kind, in PragmaMessageHandler()
[all …]
DPPLexerChange.cpp28 PPCallbacks::~PPCallbacks() {} in ~PPCallbacks()
131 PPCallbacks::EnterFile, FileType); in EnterSourceFileWithLexer()
156 Callbacks->FileChanged(EnterLoc, PPCallbacks::EnterFile, FileType); in EnterSourceFileWithPTH()
430 PPCallbacks::ExitFile, FileType, ExitedFID); in HandleEndOfFile()
DCMakeLists.txt14 PPCallbacks.cpp
/external/clang/include/clang/Lex/
DPPCallbacks.h38 class PPCallbacks {
40 virtual ~PPCallbacks();
324 class PPChainedCallbacks : public PPCallbacks {
326 std::unique_ptr<PPCallbacks> First, Second;
329 PPChainedCallbacks(std::unique_ptr<PPCallbacks> _First, in PPChainedCallbacks()
330 std::unique_ptr<PPCallbacks> _Second) in PPChainedCallbacks()
/external/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp34 class InclusionDirectiveCallbacks : public PPCallbacks {
66 class CondDirectiveCallbacks : public PPCallbacks {
90 class PragmaOpenCLExtensionCallbacks : public PPCallbacks {
214 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in InclusionDirectiveCallback()
244 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in DirectiveExprRange()
289 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in PragmaOpenCLExtensionCall()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp54 class InclusionDirectiveCallbacks : public PPCallbacks {
84 class PragmaOpenCLExtensionCallbacks : public PPCallbacks {
176 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in InclusionDirectiveFilenameRange()
222 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in PragmaOpenCLExtensionCall()
/external/llvm-project/clang/include/clang/Lex/
DPPCallbacks.h35 class PPCallbacks {
37 virtual ~PPCallbacks();
376 class PPChainedCallbacks : public PPCallbacks {
377 std::unique_ptr<PPCallbacks> First, Second;
380 PPChainedCallbacks(std::unique_ptr<PPCallbacks> _First, in PPChainedCallbacks()
381 std::unique_ptr<PPCallbacks> _Second) in PPChainedCallbacks()
/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.h74 class PPCallbacksTracker : public PPCallbacks {
89 void FileChanged(SourceLocation Loc, PPCallbacks::FileChangeReason Reason,
114 PPCallbacks::PragmaMessageKind Kind,
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Lex/
DBUILD.gn18 "PPCallbacks.cpp",
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DSetLongJmpCheck.cpp26 class SetJmpMacroCallbacks : public PPCallbacks {
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.h26 class FindAllMacros : public clang::PPCallbacks {
/external/llvm-project/clang/include/clang/Index/
DIndexingAction.h64 std::unique_ptr<PPCallbacks> indexMacrosCallback(IndexDataConsumer &Consumer,
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DAvoidUnderscoreInGoogletestNameCheck.cpp35 class AvoidUnderscoreInGoogletestNameCallback : public PPCallbacks {
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DLambdaFunctionNameCheck.cpp29 class MacroExpansionsWithFileAndLine : public PPCallbacks {

1234