Home
last modified time | relevance | path

Searched refs:HashLine (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp69 Inc.HashLine = in InclusionDirective()
73 if (LastPragmaKeepInMainFileLine == Inc.HashLine) in InclusionDirective()
371 << " at line" << Inc.HashLine; in operator <<()
375 return std::tie(LHS.Directive, LHS.FileKind, LHS.HashOffset, LHS.HashLine, in operator ==()
377 std::tie(RHS.Directive, RHS.FileKind, RHS.HashOffset, RHS.HashLine, in operator ==()
H A DIncludeCleaner.cpp507 D.Fixes.back().Edits.back().range.start.line = Inc->HashLine; in issueUnusedIncludesDiagnostics()
508 D.Fixes.back().Edits.back().range.end.line = Inc->HashLine + 1; in issueUnusedIncludesDiagnostics()
H A DHeaders.h69 int HashLine = 0; // Line number containing the directive, 0-indexed. member
H A DHover.cpp981 if (Inc.Resolved.empty() || Inc.HashLine != Pos.line) in getHover()
H A DXRefs.cpp234 if (!Inc.Resolved.empty() && Inc.HashLine == Pos.line) { in locateFileReferent()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DParsedASTTests.cpp108 return std::tie(Actual.HashLine, Actual.Written) ==
109 std::tie(Expected.HashLine, Expected.Written);
H A DPreambleTests.cpp161 Field(&Inclusion::HashLine, 0)))); in TEST()
H A DHeadersTests.cpp145 MATCHER_P(includeLine, N, "") { return arg.HashLine == N; }