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.cpp41 const PreprocessingRecord *PPRec; member in __anon4ed2946d0111::ObjCMigrateASTConsumer
49 const PreprocessingRecord *PPRec, in ObjCMigrateASTConsumer() argument
54 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), in ObjCMigrateASTConsumer()
62 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.cpp436 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in indexPreprocessingRecord() local
445 I = PPRec.local_begin(); in indexPreprocessingRecord()
446 E = PPRec.local_end(); in indexPreprocessingRecord()
448 I = PPRec.begin(); in indexPreprocessingRecord()
449 E = PPRec.end(); in indexPreprocessingRecord()
DCIndex.cpp191 PreprocessingRecord &PPRec, in visitPreprocessedEntitiesInRange() argument
205 Entities = PPRec.getPreprocessedEntitiesInRange(R); in visitPreprocessedEntitiesInRange()
207 PPRec, FID); in visitPreprocessedEntitiesInRange()
355 PreprocessingRecord &PPRec in visitPreprocessedEntitiesInRegion() local
367 PPRec, *this); in visitPreprocessedEntitiesInRegion()
378 PPRec, *this); in visitPreprocessedEntitiesInRegion()
382 PPRec, *this); in visitPreprocessedEntitiesInRegion()
385 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this); in visitPreprocessedEntitiesInRegion()
392 return visitPreprocessedEntities(PPRec.local_begin(), PPRec.local_end(), in visitPreprocessedEntitiesInRegion()
393 PPRec); in visitPreprocessedEntitiesInRegion()
[all …]
DCursorVisitor.h181 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.cpp1643 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
1644 if (PPRec) in WritePreprocessor()
1645 WritePreprocessorDetail(*PPRec); in WritePreprocessor()
1738 if (PPRec) in WritePreprocessor()
1739 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
1770 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { in WritePreprocessorDetail() argument
1771 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
1796 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
1800 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
1801 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
DASTReader.cpp1348 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
1349 PPRec.RegisterMacroDefinition(Macro, in ReadMacroRecord()
1350 PPRec.getPPEntityID(GlobalID-1, /*isLoaded=*/true)); in ReadMacroRecord()
3366 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
3383 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); in ReadPreprocessedEntity()
3388 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
3390 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
3400 = new (PPRec) MacroDefinition(II, Range); in ReadPreprocessedEntity()
3419 = new (PPRec) InclusionDirective(PPRec, Kind, in ReadPreprocessedEntity()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h234 InclusionDirective(PreprocessingRecord &PPRec,
/external/clang/include/clang/Serialization/
DASTWriter.h407 void WritePreprocessorDetail(PreprocessingRecord &PPRec);