mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
* Ignore CLion project files and CMake outputs * Supporting stripping file path that contains backslash * Set /bigobj flag and increase stack size for windows platform * Fix MSVC warnings
This commit is contained in:
+2
-6
@@ -20,6 +20,7 @@
|
||||
// clang-format off
|
||||
#include "V3Error.h"
|
||||
#include "V3FileLine.h"
|
||||
#include "V3Os.h"
|
||||
#include "V3String.h"
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
# include "V3Global.h"
|
||||
@@ -286,12 +287,7 @@ FileLine* FileLine::copyOrSameFileLine() {
|
||||
return newp;
|
||||
}
|
||||
|
||||
string FileLine::filebasename() const VL_MT_SAFE {
|
||||
string name = filename();
|
||||
string::size_type pos;
|
||||
if ((pos = name.rfind('/')) != string::npos) name.erase(0, pos + 1);
|
||||
return name;
|
||||
}
|
||||
string FileLine::filebasename() const VL_MT_SAFE { return V3Os::filenameNonDir(filename()); }
|
||||
|
||||
string FileLine::filebasenameNoExt() const {
|
||||
string name = filebasename();
|
||||
|
||||
Reference in New Issue
Block a user