/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | Indexing.cpp | 149 PPConditionalDirectiveRecord &PPRec; member in __anon62de29160211::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 | 193 PreprocessingRecord &PPRec,
|
H A D | CIndex.cpp | 253 const auto &Entities = PPRec.getPreprocessedEntitiesInRange(R); in visitPreprocessedEntitiesInRange() 255 PPRec, FID); in visitPreprocessedEntitiesInRange() 431 SourceRange(B, AU->getEndOfPreambleFileID()), PPRec, *this); in visitPreprocessedEntitiesInRegion() 435 SourceRange(AU->getStartOfMainFileID(), E), PPRec, *this); in visitPreprocessedEntitiesInRegion() 444 return visitPreprocessedEntities(PPRec.local_begin(), PPRec.local_end(), in visitPreprocessedEntitiesInRegion() 445 PPRec); in visitPreprocessedEntitiesInRegion() 447 return visitPreprocessedEntities(PPRec.begin(), PPRec.end(), PPRec); in visitPreprocessedEntitiesInRegion() 456 if (!FID.isInvalid() && !PPRec.isEntityInFileID(First, FID)) in visitPreprocessedEntities() 9055 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in checkForMacroInMacroDefinition() local 9056 if (!PPRec) in checkForMacroInMacroDefinition() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 101 const PPConditionalDirectiveRecord *PPRec; member in __anon18060fa80111::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() 2012 PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager()); in CreateASTConsumer() local 2024 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2029 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 42 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument 48 char *Memory = (char *)PPRec.Allocate(FileName.size() + 1, alignof(char)); in InclusionDirective()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 248 InclusionDirective(PreprocessingRecord &PPRec,
|
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2151 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local 2152 if (PPRec) in WritePreprocessor() 2153 WritePreprocessorDetail(*PPRec, MacroOffsetsBase); in WritePreprocessor() 2316 if (PPRec) in WritePreprocessor() 2317 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor() 2356 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec, in WritePreprocessorDetail() argument 2358 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail() 2384 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail() 2388 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail() 2389 EEnd = PPRec.local_end(); in WritePreprocessorDetail() [all …]
|
H A D | ASTReader.cpp | 1781 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local 1783 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord() 1785 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord() 1787 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord() 5917 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local 5918 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities() 5980 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local 6000 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity() 6005 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity() 6007 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 483 void WritePreprocessorDetail(PreprocessingRecord &PPRec,
|
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2580 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local 2581 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()
|