mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
Remove --xml-only.
This commit is contained in:
@@ -77,18 +77,6 @@ FileLineSingleton::fileNameIdx_t FileLineSingleton::nameToNumber(const string& f
|
||||
return idx;
|
||||
}
|
||||
|
||||
//! Support XML output
|
||||
//! Experimental. Updated to also put out the language.
|
||||
void FileLineSingleton::fileNameNumMapDumpXml(std::ostream& os) {
|
||||
os << "<files>\n";
|
||||
for (const auto& itr : m_namemap) {
|
||||
os << "<file id=\"" << filenameLetters(itr.second) << "\" filename=\""
|
||||
<< V3OutFormatter::quoteNameControls(itr.first, V3OutFormatter::LA_XML)
|
||||
<< "\" language=\"" << numberToLang(itr.second).ascii() << "\"/>\n";
|
||||
}
|
||||
os << "</files>\n";
|
||||
}
|
||||
|
||||
void FileLineSingleton::fileNameNumMapDumpJson(std::ostream& os) {
|
||||
std::string sep = "\n ";
|
||||
os << "\"files\": {";
|
||||
@@ -241,12 +229,6 @@ void FileLine::newContent() {
|
||||
m_contentLineno = 1;
|
||||
}
|
||||
|
||||
string FileLine::xmlDetailedLocation() const {
|
||||
return "loc=\"" + cvtToStr(filenameLetters()) + "," + cvtToStr(firstLineno()) + ","
|
||||
+ cvtToStr(firstColumn()) + "," + cvtToStr(lastLineno()) + "," + cvtToStr(lastColumn())
|
||||
+ "\"";
|
||||
}
|
||||
|
||||
string FileLine::lineDirectiveStrg(int enterExit) const {
|
||||
return "`line "s + cvtToStr(lastLineno()) + " \""
|
||||
+ V3OutFormatter::quoteNameControls(filename()) + "\" " + cvtToStr(enterExit) + '\n';
|
||||
|
||||
Reference in New Issue
Block a user