Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp101 const PPConditionalDirectiveRecord *PPRec; member in __anonac2273870111::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/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/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h249 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2482 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
2483 if (PPRec) in WritePreprocessor()
2484 WritePreprocessorDetail(*PPRec, MacroOffsetsBase); in WritePreprocessor()
2693 if (PPRec) in WritePreprocessor()
2694 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2733 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec, in WritePreprocessorDetail() argument
2735 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
2761 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
2765 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
2766 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
[all …]
H A DASTReader.cpp1974 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
1976 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord()
1978 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord()
1980 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord()
6221 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local
6222 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities()
6290 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
6310 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity()
6315 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
6317 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2629 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local
2630 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h559 void WritePreprocessorDetail(PreprocessingRecord &PPRec,