Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h38 const PPConditionalDirectiveRecord *PPRec; variable
74 const PPConditionalDirectiveRecord *PPRec = nullptr)
75 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), IdentTable(LangOpts) {} in SourceMgr()
81 return PPRec; in getPPCondDirectiveRecord()
H A DCommit.h54 const PPConditionalDirectiveRecord *PPRec; variable
65 const PPConditionalDirectiveRecord *PPRec = nullptr)
66 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec) {} in SourceMgr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp45 PPRec(Editor.getPPCondDirectiveRecord()), in Commit()
81 if (PPRec && in insertFromRange()
82 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange()
309 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp101 const PPConditionalDirectiveRecord *PPRec; member in __anona0c783bd0111::ObjCMigrateASTConsumer
119 const PPConditionalDirectiveRecord *PPRec, in ObjCMigrateASTConsumer() argument
124 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), in ObjCMigrateASTConsumer()
134 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()
2006 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); in CreateASTConsumer() local
2018 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer()
2023 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp42 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument
49 char *Memory = (char *)PPRec.Allocate(FileName.size() + 1, alignof(char)); in InclusionDirective()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h249 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind,
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2354 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
2355 if (PPRec) in WritePreprocessor()
2356 WritePreprocessorDetail(*PPRec, MacroOffsetsBase); in WritePreprocessor()
2559 if (PPRec) in WritePreprocessor()
2560 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2599 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec, in WritePreprocessorDetail() argument
2601 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
2627 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
2631 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
2632 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
[all …]
H A DASTReader.cpp1935 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
1937 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord()
1939 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord()
1941 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord()
6215 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local
6216 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities()
6284 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
6304 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity()
6309 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
6311 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h516 void WritePreprocessorDetail(PreprocessingRecord &PPRec,
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2618 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local
2619 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()