Searched refs:PPRec (Results 1 - 14 of 14) sorted by relevance

/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp105 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 DEditedSource.h30 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 DCommit.h50 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 DCommit.cpp40 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 DIndexing.cpp171 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 DCursorVisitor.h192 PreprocessingRecord &PPRec,
H A DCIndex.cpp226 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 DPreprocessingRecord.cpp25 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, argument
35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp95 const PPConditionalDirectiveRecord *PPRec; member in class:__anon17684::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 DPreprocessingRecord.h233 InclusionDirective(PreprocessingRecord &PPRec,
/external/clang/include/clang/Serialization/
H A DASTWriter.h463 void WritePreprocessorDetail(PreprocessingRecord &PPRec);
/external/clang/lib/Serialization/
H A DASTWriter.cpp1917 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 DASTReader.cpp1429 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 DASTUnit.cpp2783 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord())
2784 return std::make_pair(PPRec->local_begin(), PPRec->local_end());

Completed in 467 milliseconds