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 7bf390a commit 216c382Copy full SHA for 216c382
include/swift/SIL/SILLocation.h
@@ -428,7 +428,7 @@ class SILLocation {
428
static DebugLoc decode(SourceLoc Loc, const SourceManager &SM);
429
430
/// Return the decoded debug location.
431
- DebugLoc decodeDebugLoc(const SourceManager &SM) const {
+ LLVM_NODISCARD DebugLoc decodeDebugLoc(const SourceManager &SM) const {
432
return isDebugInfoLoc() ? Loc.DebugInfoLoc
433
: decode(getDebugSourceLoc(), SM);
434
}
0 commit comments