Lines Matching defs:include
9 #include "TableGenServer.h"
11 #include "mlir/Support/IndentedOstream.h"
12 #include "mlir/Tools/lsp-server-support/CompilationDatabase.h"
13 #include "mlir/Tools/lsp-server-support/Logging.h"
14 #include "mlir/Tools/lsp-server-support/Protocol.h"
15 #include "mlir/Tools/lsp-server-support/SourceMgrUtils.h"
16 #include "llvm/ADT/IntervalMap.h"
17 #include "llvm/ADT/PointerUnion.h"
18 #include "llvm/ADT/StringMap.h"
19 #include "llvm/Support/Path.h"
20 #include "llvm/TableGen/Parser.h"
21 #include "llvm/TableGen/Record.h"
22 #include <optional>
48 lsp::Logger::error("Failed to create URI for include file: {0}",
380 /// The include directories for this file.
402 // Build the set of include directories for this file.
460 // Process all of the include files.
514 for (const lsp::SourceMgrInclude &include : parsedIncludes)
515 links.emplace_back(include.range, include.uri);
525 // Check for a reference to an include.
526 for (const lsp::SourceMgrInclude &include : parsedIncludes)
527 if (include.range.contains(hoverPos))
528 return include.buildHover();
669 // Build the set of additional include directories.