/external/clang/include/clang/Edit/ |
H A D | EditedSource.h | 30 const PPConditionalDirectiveRecord *PPRec; member in class:clang::edit::EditedSource 48 const PPConditionalDirectiveRecord *PPRec = 0) 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 = 0) 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0),
|
/external/clang/unittests/Lex/ |
H A D | PPConditionalDirectiveRecordTest.cpp | 101 PPRec = new PPConditionalDirectiveRecord(SourceMgr); local 102 PP.addPPCallbacks(PPRec); 117 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 119 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 121 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 123 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 125 EXPECT_TRUE(PPRec->rangeIntersectsConditionalDirective( 127 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 129 EXPECT_FALSE(PPRec->rangeIntersectsConditionalDirective( 131 EXPECT_TRUE(PPRec [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 | 57 const PPConditionalDirectiveRecord *PPRec; member in class:__anon15070::ObjCMigrateASTConsumer 68 const PPConditionalDirectiveRecord *PPRec, 75 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), 83 PPRec)); 119 PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager()); local 120 CompInst->getPreprocessor().addPPCallbacks(PPRec); 129 PPRec, 774 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); local 775 CI.getPreprocessor().addPPCallbacks(PPRec); 62 ObjCMigrateASTConsumer(StringRef migrateDir, bool migrateLiterals, bool migrateSubscripting, bool migrateProperty, FileRemapper &remapper, FileManager &fileMgr, const PPConditionalDirectiveRecord *PPRec, Preprocessor &PP, bool isOutputFile = false) argument [all...] |
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 170 PPConditionalDirectiveRecord &PPRec; 182 : SessionData(sessionData), PPRec(ppRec), PP(pp) { 208 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc); 217 const SourceManager &SM = PPRec.getSourceManager(); 440 PPRec = new PPConditionalDirectiveRecord(PP.getSourceManager()); local 441 PP.addPPCallbacks(PPRec); 442 SKCtrl.reset(new TUSkipBodyControl(*SKData, *PPRec, PP));
|
H A D | CIndex.cpp | 207 PreprocessingRecord &PPRec, 221 Entities = PPRec.getPreprocessedEntitiesInRange(R); 223 PPRec, FID); 376 PreprocessingRecord &PPRec 388 PPRec, *this); 399 PPRec, *this); 403 PPRec, *this); 406 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this); 413 return visitPreprocessedEntities(PPRec.local_begin(), PPRec 206 visitPreprocessedEntitiesInRange(SourceRange R, PreprocessingRecord &PPRec, CursorVisitor &Visitor) argument 420 visitPreprocessedEntities(InputIterator First, InputIterator Last, PreprocessingRecord &PPRec, FileID FID) argument 6553 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); local [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1892 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); local 1893 if (PPRec) 1894 WritePreprocessorDetail(*PPRec); 2033 if (PPRec) 2034 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); 2094 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { argument 2095 if (PPRec.local_begin() == PPRec.local_end()) 2121 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) 2125 for (PreprocessingRecord::iterator E = PPRec [all...] |
H A D | ASTReader.cpp | 1201 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local 1203 PPID = PPRec.getPPEntityID(GlobalID-1, /*isLoaded=*/true); 1205 cast_or_null<MacroDefinition>(PPRec.getPreprocessedEntity(PPID)); 1207 PPRec.RegisterMacroDefinition(Macro, PPDef); 4125 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) 4126 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, 4163 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local 4179 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); 4184 ME = new (PPRec) MacroExpansion(Name, Range); 4186 ME = new (PPRec) MacroExpansio [all...] |