Home
last modified time | relevance | path

Searched refs:DirectiveLine (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPreamble.cpp205 unsigned DirectiveLine; member
211 return std::tie(DirectiveLine, Offset, Text) == in operator ==()
212 std::tie(RHS.DirectiveLine, RHS.Offset, RHS.Text); in operator ==()
222 unsigned &DirectiveLine, unsigned &Offset) { in spellDirective() argument
235 DirectiveLine = SM.getLineNumber(DecompLoc.first, DecompLoc.second); in spellDirective()
254 --DirectiveLine; in spellDirective()
285 LangOpts, SM, TD.DirectiveLine, TD.Offset); in MacroDefined()
700 Patch << "#line " << TD.DirectiveLine << '\n'; in create()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DPreprocessorTracker.h59 int DirectiveLine, int DirectiveColumn,
H A DPreprocessorTracker.cpp815 void handleIncludeDirective(llvm::StringRef DirectivePath, int DirectiveLine, in handleIncludeDirective() argument
828 if ((I->File == CurrentHeaderHandle) && (I->Line == DirectiveLine)) in handleIncludeDirective()
832 DirectiveLine, DirectiveColumn); in handleIncludeDirective()
1284 int DirectiveLine, DirectiveColumn; in InclusionDirective() local
1286 getSourceLocationLineAndColumn(PP, HashLoc, DirectiveLine, DirectiveColumn); in InclusionDirective()
1287 PPTracker.handleIncludeDirective(HeaderPath, DirectiveLine, DirectiveColumn, in InclusionDirective()