Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditedSource.h39 const PPConditionalDirectiveRecord *PPRec; variable
75 const PPConditionalDirectiveRecord *PPRec = nullptr)
76 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), IdentTable(LangOpts) {} in SourceMgr()
82 return PPRec; in getPPCondDirectiveRecord()
H A DCommit.h55 const PPConditionalDirectiveRecord *PPRec; variable
66 const PPConditionalDirectiveRecord *PPRec = nullptr)
67 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec) {} in SourceMgr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp46 PPRec(Editor.getPPCondDirectiveRecord()), in Commit()
82 if (PPRec && in insertFromRange()
83 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange()
310 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp98 const PPConditionalDirectiveRecord *PPRec; member in __anon012bd9960111::ObjCMigrateASTConsumer
110 const PPConditionalDirectiveRecord *PPRec, in ObjCMigrateASTConsumer() argument
117 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), in ObjCMigrateASTConsumer()
131 PPRec)); in Initialize()
196 PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager()); in CreateASTConsumer() local
197 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer()
201 MigrateDir, ObjCMigAction, Remapper, CompInst->getFileManager(), PPRec, in CreateASTConsumer()
2014 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); in CreateASTConsumer() local
2026 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer()
2031 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp43 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument
49 char *Memory = (char *)PPRec.Allocate(FileName.size() + 1, alignof(char)); in InclusionDirective()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h249 InclusionDirective(PreprocessingRecord &PPRec,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp2440 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
2441 if (PPRec) in WritePreprocessor()
2442 WritePreprocessorDetail(*PPRec); in WritePreprocessor()
2606 if (PPRec) in WritePreprocessor()
2607 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2644 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { in WritePreprocessorDetail() argument
2645 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
2671 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
2675 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
2676 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
[all …]
H A DASTReader.cpp1656 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
1658 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord()
1660 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord()
1662 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord()
5411 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local
5412 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities()
5464 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
5481 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity()
5486 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
5488 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp2579 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local
2580 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTWriter.h477 void WritePreprocessorDetail(PreprocessingRecord &PPRec);