CIRCT 24.0.0git
Loading...
Searching...
No Matches
VerilogDocument.cpp File Reference
#include "slang/syntax/AllSyntax.h"
#include "slang/syntax/SyntaxTree.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Location.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/Path.h"
#include "../Utils/LSPUtils.h"
#include "LSPDiagnosticClient.h"
#include "VerilogDocument.h"
#include "VerilogServerContext.h"
#include "circt/Tools/circt-verilog-lsp-server/CirctVerilogLspServerMain.h"
Include dependency graph for VerilogDocument.cpp:

Go to the source code of this file.

Functions

static void setTopModules (slang::driver::Driver &driver)
static void copyBuffers (slang::driver::Driver &driver, const slang::driver::Driver *const projectDriver, const llvm::SmallString< 256 > &mainBufferFileName)
static llvm::lsp::Range getRange (const mlir::FileLineColRange &fileLoc)

Function Documentation

◆ copyBuffers()

void copyBuffers ( slang::driver::Driver & driver,
const slang::driver::Driver *const projectDriver,
const llvm::SmallString< 256 > & mainBufferFileName )
inlinestatic

Definition at line 82 of file VerilogDocument.cpp.

◆ getRange()

llvm::lsp::Range getRange ( const mlir::FileLineColRange & fileLoc)
static

Definition at line 289 of file VerilogDocument.cpp.

Referenced by circt::lsp::VerilogDocument::getLocationsOf().

◆ setTopModules()

void setTopModules ( slang::driver::Driver & driver)
inlinestatic

Definition at line 57 of file VerilogDocument.cpp.

References circt::lsp::Logger::error().