Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DSourceMgrUtils.cpp86 SMLoc includeLoc = sourceMgr.getBufferInfo(i + 1).IncludeLoc; in gatherIncludeFiles() local
87 if (!includeLoc.isValid() || sourceMgr.FindBufferContainingLoc( in gatherIncludeFiles()
88 includeLoc) != sourceMgr.getMainFileID()) in gatherIncludeFiles()
101 const char *includeStart = includeLoc.getPointer() - 2; in gatherIncludeFiles()
106 SMRange includeRange(SMLoc::getFromPointer(includeStart), includeLoc); in gatherIncludeFiles()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DLexer.cpp108 LogicalResult Lexer::pushInclude(StringRef filename, SMRange includeLoc) { in pushInclude() argument
111 srcMgr.AddIncludeFile(filename.str(), includeLoc.End, includedFile); in pushInclude()
H A DLexer.h181 LogicalResult pushInclude(StringRef filename, SMRange includeLoc);