| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/ |
| H A D | EditedSource.h | 39 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 D | Commit.h | 55 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 D | Commit.cpp | 46 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 D | ObjCMT.cpp | 98 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 D | PreprocessingRecord.cpp | 43 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 D | PreprocessingRecord.h | 249 InclusionDirective(PreprocessingRecord &PPRec,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2440 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 D | ASTReader.cpp | 1656 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 D | ASTUnit.cpp | 2579 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 D | ASTWriter.h | 477 void WritePreprocessorDetail(PreprocessingRecord &PPRec);
|