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/Edit/
H A DCommit.cpp44 PPRec(Editor.getPPCondDirectiveRecord()), in Commit()
80 if (PPRec && in insertFromRange()
81 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange()
308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp39 InclusionDirective::InclusionDirective(PreprocessingRecord &PPRec, in InclusionDirective() argument
46 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.cpp2558 PreprocessingRecord *PPRec = PP.getPreprocessingRecord(); in WritePreprocessor() local
2559 if (PPRec) in WritePreprocessor()
2560 WritePreprocessorDetail(*PPRec, MacroOffsetsBase); in WritePreprocessor()
2769 if (PPRec) in WritePreprocessor()
2770 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2809 void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec, in WritePreprocessorDetail() argument
2811 if (PPRec.local_begin() == PPRec.local_end()) in WritePreprocessorDetail()
2837 = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) in WritePreprocessorDetail()
2841 for (PreprocessingRecord::iterator E = PPRec.local_begin(), in WritePreprocessorDetail()
2842 EEnd = PPRec.local_end(); in WritePreprocessorDetail()
[all …]
H A DASTReader.cpp2152 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadMacroRecord() local
2154 PPRec.getPPEntityID(GlobalID - 1, /*isLoaded=*/true); in ReadMacroRecord()
2156 PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord()
2158 PPRec.RegisterMacroDefinition(Macro, PPDef); in ReadMacroRecord()
6557 if (PreprocessingRecord *PPRec = PP.getPreprocessingRecord()) in getModulePreprocessedEntities() local
6558 return PPRec->getIteratorsForLoadedRange(Mod.BasePreprocessedEntityID, in getModulePreprocessedEntities()
6629 PreprocessingRecord &PPRec = *PP.getPreprocessingRecord(); in ReadPreprocessedEntity() local
6649 PPRec.getLoadedPreprocessedEntity(GlobalID - 1)); in ReadPreprocessedEntity()
6654 ME = new (PPRec) MacroExpansion(Name, Range); in ReadPreprocessedEntity()
6656 ME = new (PPRec) MacroExpansion(Def, Range); in ReadPreprocessedEntity()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2641 if (PreprocessingRecord *PPRec = PP->getPreprocessingRecord()) in getLocalPreprocessingEntities() local
2642 return llvm::make_range(PPRec->local_begin(), PPRec->local_end()); in getLocalPreprocessingEntities()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h586 void WritePreprocessorDetail(PreprocessingRecord &PPRec,