CIRCT 22.0.0git
Loading...
Searching...
No Matches
Functions
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()

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

Definition at line 83 of file VerilogDocument.cpp.

◆ getRange()

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

Definition at line 290 of file VerilogDocument.cpp.

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

◆ setTopModules()

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

Definition at line 58 of file VerilogDocument.cpp.

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