We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9405af1 commit 5eab94fCopy full SHA for 5eab94f
clang/lib/Frontend/SARIFDiagnostic.cpp
@@ -71,8 +71,7 @@ SarifResult SARIFDiagnostic::addLocationToResult(
71
FileID FID = Loc.getFileID();
72
if (FID.isValid()) {
73
if (const FileEntry *FE = Loc.getFileEntry()) {
74
- llvm::StringRef Filename =
75
- emitFilename(FE->getName(), Loc.getManager());
+ emitFilename(FE->getName(), Loc.getManager());
76
// FIXME(llvm-project/issues/57366): File-only locations
77
}
78
0 commit comments