/openbsd/gnu/llvm/clang/include/clang/Edit/ |
H A D | EditedSource.h | 38 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 D | Commit.h | 54 const PPConditionalDirectiveRecord *PPRec; variable 65 const PPConditionalDirectiveRecord *PPRec = nullptr) 66 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec) {} in SourceMgr()
|
/openbsd/gnu/llvm/clang/lib/Edit/ |
H A D | Commit.cpp | 45 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()
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | Indexing.cpp | 149 PPConditionalDirectiveRecord &PPRec; member in __anon0793a8420211::ParsedSrcLocationsTracker 167 : ParsedRegionsStorage(ParsedRegionsStorage), PPRec(ppRec), PP(pp), in ParsedSrcLocationsTracker() 212 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc); in getRegion() 220 PPRec.getSourceManager().getDecomposedLoc(RegionLoc); in getRegion() 364 auto *PPRec = new PPConditionalDirectiveRecord(PP.getSourceManager()); in CreateASTConsumer() local 365 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 367 std::make_unique<ParsedSrcLocationsTracker>(*SKData, *PPRec, PP); in CreateASTConsumer()
|
H A D | CursorVisitor.h | 200 PreprocessingRecord &PPRec,
|
H A D | CIndex.cpp | 254 const auto &Entities = PPRec.getPreprocessedEntitiesInRange(R); in visitPreprocessedEntitiesInRange() 256 PPRec, FID); in visitPreprocessedEntitiesInRange() 432 SourceRange(B, AU->getEndOfPreambleFileID()), PPRec, *this); in visitPreprocessedEntitiesInRegion() 436 SourceRange(AU->getStartOfMainFileID(), E), PPRec, *this); in visitPreprocessedEntitiesInRegion() 445 return visitPreprocessedEntities(PPRec.local_begin(), PPRec.local_end(), in visitPreprocessedEntitiesInRegion() 446 PPRec); in visitPreprocessedEntitiesInRegion() 448 return visitPreprocessedEntities(PPRec.begin(), PPRec.end(), PPRec); in visitPreprocessedEntitiesInRegion() 457 if (!FID.isInvalid() && !PPRec.isEntityInFileID(First, FID)) in visitPreprocessedEntities() 9382 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in checkForMacroInMacroDefinition() local 9383 if (!PPRec) in checkForMacroInMacroDefinition() [all …]
|
/openbsd/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 101 const PPConditionalDirectiveRecord *PPRec; member in __anonc0b9d3d40111::ObjCMigrateASTConsumer 119 const PPConditionalDirectiveRecord *PPRec, in ObjCMigrateASTConsumer() argument 124 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), in ObjCMigrateASTConsumer() 136 PPRec)); in Initialize() 199 PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager()); in CreateASTConsumer() local 200 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 204 MigrateDir, ObjCMigAction, Remapper, CompInst->getFileManager(), PPRec, in CreateASTConsumer() 2009 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); in CreateASTConsumer() local 2021 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2026 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 42 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument 49 char *Memory = (char *)PPRec.Allocate(FileName.size() + 1, alignof(char)); in InclusionDirective()
|
/openbsd/gnu/llvm/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 246 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind,
|
/openbsd/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2291 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local 2292 if (PPRec) in WritePreprocessor() 2293 WritePreprocessorDetail(*PPRec, MacroOffsetsBase); in WritePreprocessor() 2496 if (PPRec) in WritePreprocessor() 2497 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor() 2550 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec, in WritePreprocessorDetail() argument 2552 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail() 2578 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail() 2582 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail() 2583 EEnd = PPRec.local_end(); in WritePreprocessorDetail() [all …]
|
H A D | ASTReader.cpp | 1805 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local 1807 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord() 1809 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord() 1811 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord() 6013 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local 6014 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities() 6082 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local 6102 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity() 6107 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity() 6109 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 506 void WritePreprocessorDetail(PreprocessingRecord &PPRec,
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2610 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local 2611 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()
|