Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/clangd/
H A DPreamble.cpp234 unsigned DirectiveLine; member
243 return std::tie(DirectiveLine, Offset, Text) == in operator ==()
244 std::tie(RHS.DirectiveLine, RHS.Offset, RHS.Text); in operator ==()
254 unsigned &DirectiveLine, unsigned &Offset) { in spellDirective() argument
267 DirectiveLine = SM.getLineNumber(DecompLoc.first, DecompLoc.second); in spellDirective()
286 --DirectiveLine; in spellDirective()
319 LangOpts, SM, TD.DirectiveLine, TD.Offset); in MacroDefined()
907 Patch << "#line " << TD.DirectiveLine << '\n'; in createFullPatch()
/llvm-project/clang-tools-extra/modularize/
H A DPreprocessorTracker.h59 int DirectiveLine, int DirectiveColumn,
H A DPreprocessorTracker.cpp814 void handleIncludeDirective(llvm::StringRef DirectivePath, int DirectiveLine, in handleIncludeDirective() argument
827 if ((I->File == CurrentHeaderHandle) && (I->Line == DirectiveLine)) in handleIncludeDirective()
831 DirectiveLine, DirectiveColumn); in handleIncludeDirective()
1279 int DirectiveLine, DirectiveColumn; in InclusionDirective() local
1281 getSourceLocationLineAndColumn(PP, HashLoc, DirectiveLine, DirectiveColumn); in InclusionDirective()
1282 PPTracker.handleIncludeDirective(HeaderPath, DirectiveLine, DirectiveColumn, in InclusionDirective()