Home
last modified time | relevance | path

Searched refs:PPRec (Results 1 – 13 of 13) sorted by relevance

/external/clang/unittests/Lex/
DPreprocessingRecordTest.cpp105 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in TEST_F() local
106 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
108 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
110 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
112 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
114 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
116 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
118 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
120 EXPECT_TRUE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
122 EXPECT_FALSE(PPRec.rangeIntersectsConditionalDirective( in TEST_F()
[all …]
/external/clang/include/clang/Edit/
DEditedSource.h30 const PreprocessingRecord *PPRec; variable
48 const PreprocessingRecord *PPRec = 0)
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), in SourceMgr()
54 const PreprocessingRecord *getPreprocessingRecord() const { return PPRec; } in getPreprocessingRecord()
DCommit.h49 const PreprocessingRecord *PPRec; variable
58 const PreprocessingRecord *PPRec = 0)
59 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0), in SourceMgr()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp42 const PreprocessingRecord *PPRec; member in __anonb5f593af0111::ObjCMigrateASTConsumer
50 const PreprocessingRecord *PPRec, in ObjCMigrateASTConsumer() argument
55 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), in ObjCMigrateASTConsumer()
63 PPRec)); in Initialize()
/external/clang/lib/Edit/
DCommit.cpp40 PPRec(Editor.getPreprocessingRecord()), in Commit()
76 if (PPRec && in insertFromRange()
77 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange()
308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
/external/clang/tools/libclang/
DIndexing.cpp438 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in indexPreprocessingRecord() local
447 I = PPRec.local_begin(); in indexPreprocessingRecord()
448 E = PPRec.local_end(); in indexPreprocessingRecord()
450 I = PPRec.begin(); in indexPreprocessingRecord()
451 E = PPRec.end(); in indexPreprocessingRecord()
DCIndex.cpp198 PreprocessingRecord &PPRec, in visitPreprocessedEntitiesInRange() argument
212 Entities = PPRec.getPreprocessedEntitiesInRange(R); in visitPreprocessedEntitiesInRange()
214 PPRec, FID); in visitPreprocessedEntitiesInRange()
362 PreprocessingRecord &PPRec in visitPreprocessedEntitiesInRegion() local
374 PPRec, *this); in visitPreprocessedEntitiesInRegion()
385 PPRec, *this); in visitPreprocessedEntitiesInRegion()
389 PPRec, *this); in visitPreprocessedEntitiesInRegion()
392 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this); in visitPreprocessedEntitiesInRegion()
399 return visitPreprocessedEntities(PPRec.local_begin(), PPRec.local_end(), in visitPreprocessedEntitiesInRegion()
400 PPRec); in visitPreprocessedEntitiesInRegion()
[all …]
DCursorVisitor.h192 PreprocessingRecord &PPRec,
/external/clang/lib/Lex/
DPreprocessingRecord.cpp25 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument
34 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>()); in InclusionDirective()
/external/clang/lib/Serialization/
DASTWriter.cpp1648 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
1649 if (PPRec) in WritePreprocessor()
1650 WritePreprocessorDetail(*PPRec); in WritePreprocessor()
1745 if (PPRec) in WritePreprocessor()
1746 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
1777 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { in WritePreprocessorDetail() argument
1778 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
1803 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
1807 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
1808 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
DASTReader.cpp1356 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
1357 PPRec.RegisterMacroDefinition(Macro, in ReadMacroRecord()
1358 PPRec.getPPEntityID(GlobalID-1, /*isLoaded=*/true)); in ReadMacroRecord()
3402 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
3419 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); in ReadPreprocessedEntity()
3424 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
3426 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
3436 = new (PPRec) MacroDefinition(II, Range); in ReadPreprocessedEntity()
3455 = new (PPRec) InclusionDirective(PPRec, Kind, in ReadPreprocessedEntity()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h234 InclusionDirective(PreprocessingRecord &PPRec,
/external/clang/include/clang/Serialization/
DASTWriter.h415 void WritePreprocessorDetail(PreprocessingRecord &PPRec);