/external/clang/unittests/Lex/ |
H A D | PPConditionalDirectiveRecordTest.cpp | 105 PPRec = new PPConditionalDirectiveRecord(SourceMgr); local 106 PP.addPPCallbacks(PPRec); 121 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 123 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 125 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 127 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 129 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 131 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 133 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 135 EXPECT_TRUE(PPRec [all...] |
/external/clang/include/clang/Edit/ |
H A D | EditedSource.h | 30 const PPConditionalDirectiveRecord *PPRec; member in class:clang::edit::EditedSource 48 const PPConditionalDirectiveRecord *PPRec = nullptr) 49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), 55 return PPRec;
|
H A D | Commit.h | 50 const PPConditionalDirectiveRecord *PPRec; member in class:clang::edit::Commit 61 const PPConditionalDirectiveRecord *PPRec = nullptr) 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
|
/external/clang/lib/Edit/ |
H A D | Commit.cpp | 40 PPRec(Editor.getPPCondDirectiveRecord()), 76 if (PPRec && 77 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { 308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange()))
|
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 171 PPConditionalDirectiveRecord &PPRec; 183 : SessionData(sessionData), PPRec(ppRec), PP(pp) { 209 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc); 218 const SourceManager &SM = PPRec.getSourceManager(); 433 PPRec = new PPConditionalDirectiveRecord(PP.getSourceManager()); variable 434 PP.addPPCallbacks(PPRec); 435 SKCtrl.reset(new TUSkipBodyControl(*SKData, *PPRec, PP));
|
H A D | CursorVisitor.h | 192 PreprocessingRecord &PPRec,
|
H A D | CIndex.cpp | 226 PreprocessingRecord &PPRec, 240 Entities = PPRec.getPreprocessedEntitiesInRange(R); 242 PPRec, FID); 395 PreprocessingRecord &PPRec 407 PPRec, *this); 418 PPRec, *this); 422 PPRec, *this); 425 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this); 432 return visitPreprocessedEntities(PPRec.local_begin(), PPRec 225 visitPreprocessedEntitiesInRange(SourceRange R, PreprocessingRecord &PPRec, CursorVisitor &Visitor) argument 439 visitPreprocessedEntities(InputIterator First, InputIterator Last, PreprocessingRecord &PPRec, FileID FID) argument [all...] |
/external/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 25 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, argument 35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 95 const PPConditionalDirectiveRecord *PPRec; member in class:__anon16883::ObjCMigrateASTConsumer 106 const PPConditionalDirectiveRecord *PPRec, 113 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), 127 PPRec)); 191 PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager()); local 192 CompInst->getPreprocessor().addPPCallbacks(PPRec); 199 PPRec, 1871 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); local 1883 CI.getPreprocessor().addPPCallbacks(PPRec); 102 ObjCMigrateASTConsumer(StringRef migrateDir, unsigned astMigrateActions, FileRemapper &remapper, FileManager &fileMgr, const PPConditionalDirectiveRecord *PPRec, Preprocessor &PP, bool isOutputFile, ArrayRef<std::string> WhiteList) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 233 InclusionDirective(PreprocessingRecord &PPRec,
|
/external/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 463 void WritePreprocessorDetail(PreprocessingRecord &PPRec);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1917 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); local 1918 if (PPRec) 1919 WritePreprocessorDetail(*PPRec); 2057 if (PPRec) 2058 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); 2119 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { argument 2120 if (PPRec.local_begin() == PPRec.local_end()) 2146 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) 2150 for (PreprocessingRecord::iterator E = PPRec [all...] |
H A D | ASTReader.cpp | 1429 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local 1431 PPID = PPRec.getPPEntityID(GlobalID-1, /*isLoaded=*/true); 1433 cast_or_null<MacroDefinition>(PPRec.getPreprocessedEntity(PPID)); 1435 PPRec.RegisterMacroDefinition(Macro, PPDef); 4710 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) 4711 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, 4748 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local 4764 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); 4769 ME = new (PPRec) MacroExpansion(Name, Range); 4771 ME = new (PPRec) MacroExpansio [all...] |
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2783 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) 2784 return std::make_pair(PPRec->local_begin(), PPRec->local_end());
|