================
@@ -382,7 +382,8 @@ void ImplicitBoolConversionCheck::handleCastToBool(const 
ImplicitCastExpr *Cast,
     return;
   }
 
-  auto Diag = diag(Cast->getBeginLoc(), "implicit conversion %0 -> 'bool'")
+  auto Diag = diag(Context.getSourceManager().getFileLoc(Cast->getBeginLoc()),
----------------
vbvictor wrote:

Do we need some new tests for this? Or removing `--system-header` helped 
somehow?
IIRC `<cstddef>` is already included with -isystem

https://github.com/llvm/llvm-project/pull/188694
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to