Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDiagnostics.cpp172 for (auto IncludeLocation = GetIncludeLoc(SM.getExpansionLoc(DiagLoc)); in getMainFileRange() local
173 IncludeLocation.isValid(); in getMainFileRange()
174 IncludeLocation = GetIncludeLoc(IncludeLocation)) { in getMainFileRange()
175 if (clangd::isInsideMainFile(IncludeLocation, SM)) { in getMainFileRange()
176 R.start = sourceLocToPosition(SM, IncludeLocation); in getMainFileRange()
179 Lexer::getLocForEndOfToken(IncludeLocation, 0, SM, LangOptions())); in getMainFileRange()