aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2023-11-28 04:28:57 +0100
committerGitHub <noreply@github.com>2023-11-28 04:28:57 +0100
commitfdefe88bfff17075e6f35979318bff40a338c836 (patch)
tree440ef0755e5c2e5c6c5531c08638b6c45901b68f /clang/lib/Frontend/CompilerInvocation.cpp
parent4537985ccc907395ec520a0bd8cceca386c11dc0 (diff)
downloadllvm-fdefe88bfff17075e6f35979318bff40a338c836.zip
llvm-fdefe88bfff17075e6f35979318bff40a338c836.tar.gz
llvm-fdefe88bfff17075e6f35979318bff40a338c836.tar.bz2
[Clang] Improve support for expression messages in `static_assert` (#73234)
- Support non-member functions and callable objects for size and data(). We previously tried to (badly) pick the best overload ourselves, in a way that would only support member functions. We now leave clang construct an unresolved member expression and call that, properly performing overload resolution with callable objects and static functions, consistent with the logic for `get` calls for structured bindings. - Support UDLs as message expression. - Add tests and mark CWG2798 as resolved
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions