mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internal: Remove deprecated/insecure functions. No functional change intended.
This commit is contained in:
+2
-5
@@ -165,11 +165,8 @@ string FileLine::xmlDetailedLocation() const {
|
||||
}
|
||||
|
||||
string FileLine::lineDirectiveStrg(int enterExit) const {
|
||||
char numbuf[20];
|
||||
sprintf(numbuf, "%d", lastLineno());
|
||||
char levelbuf[20];
|
||||
sprintf(levelbuf, "%d", enterExit);
|
||||
return (string("`line ") + numbuf + " \"" + filename() + "\" " + levelbuf + "\n");
|
||||
return std::string("`line ") + cvtToStr(lastLineno()) + " \"" + filename() + "\" "
|
||||
+ cvtToStr(enterExit) + "\n";
|
||||
}
|
||||
|
||||
void FileLine::lineDirective(const char* textp, int& enterExitRef) {
|
||||
|
||||
Reference in New Issue
Block a user