[all-commits] [llvm/llvm-project] abbe42: PR49260: Improve diagnostics for no matching 'oper...
Richard Smith via All-commits
all-commits at lists.llvm.org
Fri Mar 5 15:53:29 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abbe42d8b5e4e0f3a30adbf232c693712cf2899c
https://github.com/llvm/llvm-project/commit/abbe42d8b5e4e0f3a30adbf232c693712cf2899c
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2021-03-05 (Fri, 05 Mar 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/new-delete.cpp
M clang/test/SemaCXX/std-align-val-t-in-operator-new.cpp
Log Message:
-----------
PR49260: Improve diagnostics for no matching 'operator new'.
Fix duplicate diagnostic for an over-aligned allocation with no matching
function, and add custom diagnostic for the case where the
non-allocating placement new was intended but <new> was not included.
More information about the All-commits
mailing list