[clang] [Clang][DirectX] Always use Diagnostic Printer (PR #135655)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 16:34:29 PDT 2025
================
@@ -605,13 +605,11 @@ void BackendConsumer::UnsupportedDiagHandler(
// Context will be nullptr for IR input files, we will construct the diag
// message from llvm::DiagnosticInfoUnsupported.
- if (Context != nullptr) {
+ if (Context != nullptr)
Loc = getBestLocationFromDebugLoc(D, BadDebugInfo, Filename, Line, Column);
----------------
spall wrote:
Is the best location always "unknown"? or are these tests only for cases where the context is null?
https://github.com/llvm/llvm-project/pull/135655
More information about the cfe-commits
mailing list