Searched defs:PPRec (Results 1 - 8 of 8) sorted by relevance

/external/clang/include/clang/Edit/
H A DEditedSource.h30 const PreprocessingRecord *PPRec; member in class:clang::edit::EditedSource
48 const PreprocessingRecord *PPRec = 0)
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
54 const PreprocessingRecord *getPreprocessingRecord() const { return PPRec; }
H A DCommit.h49 const PreprocessingRecord *PPRec; member in class:clang::edit::Commit
58 const PreprocessingRecord *PPRec = 0)
59 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0),
/external/clang/unittests/Lex/
H A DPreprocessingRecordTest.cpp105 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local
106 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective(
108 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective(
110 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective(
112 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective(
114 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective(
116 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective(
118 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective(
120 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective(
122 EXPECT_FALSE(PPRec
[all...]
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp42 const PreprocessingRecord *PPRec; member in class:__anon3446::ObjCMigrateASTConsumer
50 const PreprocessingRecord *PPRec,
55 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec),
63 PPRec));
45 ObjCMigrateASTConsumer(StringRef migrateDir, bool migrateLiterals, bool migrateSubscripting, FileRemapper &remapper, FileManager &fileMgr, const PreprocessingRecord *PPRec, bool isOutputFile = false) argument
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp25 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, argument
34 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
/external/clang/lib/Serialization/
H A DASTReader.cpp1356 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local
1357 PPRec.RegisterMacroDefinition(Macro,
1358 PPRec.getPPEntityID(GlobalID-1, /*isLoaded=*/true));
3402 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); local
3419 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1));
3424 ME = new (PPRec) MacroExpansion(Name, Range);
3426 ME = new (PPRec) MacroExpansion(Def, Range);
3436 = new (PPRec) MacroDefinition(II, Range);
3455 = new (PPRec) InclusionDirective(PPRec, Kin
[all...]
H A DASTWriter.cpp1648 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); local
1649 if (PPRec)
1650 WritePreprocessorDetail(*PPRec);
1745 if (PPRec)
1746 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]);
1777 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { argument
1778 if (PPRec.local_begin() == PPRec.local_end())
1803 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0)
1807 for (PreprocessingRecord::iterator E = PPRec
[all...]
/external/clang/tools/libclang/
H A DCIndex.cpp198 PreprocessingRecord &PPRec,
212 Entities = PPRec.getPreprocessedEntitiesInRange(R);
214 PPRec, FID);
362 PreprocessingRecord &PPRec
374 PPRec, *this);
385 PPRec, *this);
389 PPRec, *this);
392 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this);
399 return visitPreprocessedEntities(PPRec.local_begin(), PPRec
197 visitPreprocessedEntitiesInRange(SourceRange R, PreprocessingRecord &PPRec, CursorVisitor &Visitor) argument
406 visitPreprocessedEntities(InputIterator First, InputIterator Last, PreprocessingRecord &PPRec, FileID FID) argument
[all...]

Completed in 1305 milliseconds