Home
last modified time | relevance | path

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

12

/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()
DDependencyGraph.cpp29 class DependencyGraphCallback : public PPCallbacks {
/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
DPPDirectives.cpp553 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
1199 PPCallbacks::RenameFile, in HandleLineDirective()
1341 PPCallbacks::FileChangeReason Reason = PPCallbacks::RenameFile; in HandleDigitDirective()
1343 Reason = PPCallbacks::EnterFile; in HandleDigitDirective()
1345 Reason = PPCallbacks::ExitFile; in HandleDigitDirective()
2671 (ConditionalTrue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False)); in HandleIfDirective()
2768 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
DPreprocessor.cpp915 addPPCallbacks(std::unique_ptr<PPCallbacks>(Record)); in createPreprocessingRecord()
DPPExpressions.cpp195 if (PPCallbacks *Callbacks = PP.getPPCallbacks()) { in EvaluateDefined()
/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.h55 class PPCallbacks; variable
362 std::unique_ptr<PPCallbacks> Callbacks;
784 PPCallbacks *getPPCallbacks() const { return Callbacks.get(); } in getPPCallbacks()
785 void addPPCallbacks(std::unique_ptr<PPCallbacks> C) { in addPPCallbacks()
DPreprocessingRecord.h290 class PreprocessingRecord : public PPCallbacks {
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp48 class IncludeFinderPPCallbacks : public clang::PPCallbacks {
55 clang::PPCallbacks::FileChangeReason reason,
122 clang::PPCallbacks::FileChangeReason reason, in FileChanged()
125 if (reason == clang::PPCallbacks::EnterFile) { in FileChanged()
/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.cpp750 std::unique_ptr<PPCallbacks>(CoverageInfo)); in CreateASTConsumer()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1288 std::unique_ptr<clang::PPCallbacks> CreatePreprocessorCallbacks() { in CreatePreprocessorCallbacks()
1289 return llvm::make_unique<GMockMemberRewriter::PPCallbacks>(this); in CreatePreprocessorCallbacks()
1322 class PPCallbacks : public clang::PPCallbacks { class in __anon405ffcd00111::GMockMemberRewriter
1324 explicit PPCallbacks(GMockMemberRewriter* rewriter) : rewriter_(rewriter) {} in PPCallbacks() function in __anon405ffcd00111::GMockMemberRewriter::PPCallbacks
1325 ~PPCallbacks() override {} in ~PPCallbacks()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp147 struct TestPPCallbacks : public PPCallbacks {
/external/clang/tools/libclang/
DIndexing.cpp225 class IndexPPCallbacks : public PPCallbacks {
242 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) { in FileChanged()
378 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp29 class InclusionRewriter : public PPCallbacks {
585 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Rewrite)); in RewriteIncludesInInput()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp257 class MacroTracker : public PPCallbacks {
/external/clang/lib/ARCMigrate/
DARCMT.cpp434 class ARCMTMacroTrackerPPCallbacks : public PPCallbacks {

12