mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 19:49:36 +00:00
Output directory as well as file name.
llvm-svn: 48870
This commit is contained in:
parent
8cc4842a76
commit
8d5491f40c
@ -117,7 +117,8 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic& D) {
|
||||
std::ostringstream os;
|
||||
const FileEntry* Entry = SMgr.getFileEntryForID(FileID);
|
||||
|
||||
os << "<h1>" << Entry->getName() << "</h1>\n";
|
||||
os << "<h1>" << Entry->getDir()->getName() << "/"
|
||||
<< Entry->getName() << "</h1>\n";
|
||||
|
||||
R.InsertStrBefore(SourceLocation::getFileLoc(FileID, 0), os.str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user