forked from github/verilator
Internals: Add const
This commit is contained in:
parent
b968f57711
commit
30600bf1a3
@ -294,7 +294,7 @@ void V3Options::addForceInc(const string& filename) { m_forceIncs.push_back(file
|
||||
|
||||
void V3Options::addArg(const string& arg) { m_impp->m_allArgs.push_back(arg); }
|
||||
|
||||
string V3Options::allArgsString() {
|
||||
string V3Options::allArgsString() const {
|
||||
string out;
|
||||
for (std::list<string>::const_iterator it = m_impp->m_allArgs.begin();
|
||||
it != m_impp->m_allArgs.end(); ++it) {
|
||||
|
@ -598,7 +598,7 @@ public:
|
||||
// METHODS (from main)
|
||||
static string version();
|
||||
static string argString(int argc, char** argv); ///< Return list of arguments as simple string
|
||||
string allArgsString(); ///< Return all passed arguments as simple string
|
||||
string allArgsString() const; ///< Return all passed arguments as simple string
|
||||
void bin(const string& flag) { m_bin = flag; }
|
||||
void parseOpts(FileLine* fl, int argc, char** argv);
|
||||
void parseOptsList(FileLine* fl, const string& optdir, int argc, char** argv);
|
||||
|
Loading…
Reference in New Issue
Block a user