Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DHeaderIncludeGen.cpp19 class HeaderIncludesCallback : public PPCallbacks {
127 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
129 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged()
150 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()
758 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()
DDependencyGraph.cpp29 class DependencyGraphCallback : public PPCallbacks {
DVerifyDiagnosticConsumer.cpp51 class VerifyFileTracker : public PPCallbacks {
/external/clang/lib/Lex/
DPragma.cpp442 PPCallbacks::SystemHeaderPragma, SrcMgr::C_System); in HandlePragmaSystemHeader()
904 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
964 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1034 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma()
1168 const PPCallbacks::PragmaMessageKind Kind;
1171 static const char* PragmaKind(PPCallbacks::PragmaMessageKind Kind, in PragmaKind()
1174 case PPCallbacks::PMK_Message: in PragmaKind()
1176 case PPCallbacks::PMK_Warning: in PragmaKind()
1178 case PPCallbacks::PMK_Error: in PragmaKind()
1185 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
DAndroid.mk18 PPCallbacks.cpp \
DPPDirectives.cpp472 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
1056 PPCallbacks::RenameFile, in HandleLineDirective()
1198 PPCallbacks::FileChangeReason Reason = PPCallbacks::RenameFile; in HandleDigitDirective()
1200 Reason = PPCallbacks::EnterFile; in HandleDigitDirective()
1202 Reason = PPCallbacks::ExitFile; in HandleDigitDirective()
2468 (ConditionalTrue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False)); in HandleIfDirective()
2565 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
DPPExpressions.cpp144 if (PPCallbacks *Callbacks = PP.getPPCallbacks()) { in EvaluateDefined()
DPreprocessor.cpp912 addPPCallbacks(std::unique_ptr<PPCallbacks>(Record)); in createPreprocessingRecord()
/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()
DPPConditionalDirectiveRecord.h26 class PPConditionalDirectiveRecord : public PPCallbacks {
DPreprocessor.h54 class PPCallbacks; variable
361 std::unique_ptr<PPCallbacks> Callbacks;
777 PPCallbacks *getPPCallbacks() const { return Callbacks.get(); } in getPPCallbacks()
778 void addPPCallbacks(std::unique_ptr<PPCallbacks> C) { in addPPCallbacks()
DPreprocessingRecord.h290 class PreprocessingRecord : public PPCallbacks {
/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()
DPPConditionalDirectiveRecordTest.cpp105 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in TEST_F()
/external/clang/lib/CodeGen/
DCoverageMappingGen.h38 class CoverageSourceInfo : public PPCallbacks {
DCodeGenAction.cpp718 std::unique_ptr<PPCallbacks>(CoverageInfo)); in CreateASTConsumer()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp147 struct TestPPCallbacks : public PPCallbacks {
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp29 class InclusionRewriter : public PPCallbacks {
583 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Rewrite)); in RewriteIncludesInInput()
/external/clang/tools/libclang/
DIndexing.cpp247 class IndexPPCallbacks : public PPCallbacks {
264 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) { in FileChanged()
433 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp254 class MacroTracker : public PPCallbacks {
/external/clang/lib/ARCMigrate/
DARCMT.cpp433 class ARCMTMacroTrackerPPCallbacks : public PPCallbacks {

12