[clang] [clang-tools-extra] [clang] fix diagnostic printing of expressions ignoring LangOpts (PR #134693)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 10:19:41 PDT 2025
================
@@ -493,8 +493,8 @@ DeduceNullPtrTemplateArgument(Sema &S, TemplateParameterList *TemplateParams,
: CK_NullToPointer)
.get();
return DeduceNonTypeTemplateArgument(
- S, TemplateParams, NTTP, DeducedTemplateArgument(Value), Value->getType(),
----------------
erichkeane wrote:
Right, yeah... just a touch jarring in this case I guess? But I can see the logic of both ways, so whatever you'd like is fine here.
https://github.com/llvm/llvm-project/pull/134693
More information about the cfe-commits
mailing list