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 std::filesystem::path canonicalizeFileName (const std::filesystem::path &file)
 
static bool mainBufferFileInCommandFileList (const std::string &cmdfileStr, const std::string &targetAbsStr)
 
static llvm::lsp::Range getRange (const mlir::FileLineColRange &fileLoc)
 

Function Documentation

◆ canonicalizeFileName()

static std::filesystem::path canonicalizeFileName ( const std::filesystem::path &  file)
static

Definition at line 59 of file VerilogDocument.cpp.

Referenced by mainBufferFileInCommandFileList().

◆ getRange()

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

Definition at line 350 of file VerilogDocument.cpp.

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

◆ mainBufferFileInCommandFileList()

static bool mainBufferFileInCommandFileList ( const std::string &  cmdfileStr,
const std::string &  targetAbsStr 
)
inlinestatic

Definition at line 70 of file VerilogDocument.cpp.

References canonicalizeFileName(), and circt::lsp::Logger::error().