Skip to content

Commit

Permalink
demangler tool: output format
Browse files Browse the repository at this point in the history
  • Loading branch information
xvenge00 committed Apr 13, 2019
1 parent b4841e7 commit 3b4c53c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/demanglertool/demangler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ int main(int argc, char *argv[]) {
demangledMs = dem_ms->demangleToString(argv[i]);
demangledBorland = dem_borland->demangleToString(argv[i]);

cout << "gcc: " << demangledGcc << endl;
cout << "ms: " << demangledMs << endl;
cout << "borland: " << demangledBorland << endl;
if (!demangledGcc.empty()) { cout << "gcc: " << demangledGcc << endl; }
if (!demangledMs.empty()) { cout << "ms: " << demangledMs << endl; }
if (!demangledBorland.empty()) { cout << "borland: " << demangledBorland << endl; }
} //for

return 0;
Expand Down

0 comments on commit 3b4c53c

Please sign in to comment.