[PATCH] D55552: [Sema] Better static assert diagnostics for expressions involving temporaries.
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 04:06:25 PST 2018
courbet created this revision.
courbet added reviewers: aaron.ballman, Quuxplusone.
Herald added a subscriber: cfe-commits.
Handles expressions such as:
- `std::is_const<T>()`
- `std::is_const<T>()()`;
- `std::is_same(decltype(U()), V>::value`;
Repository:
rC Clang
https://reviews.llvm.org/D55552
Files:
lib/Sema/SemaTemplate.cpp
test/SemaCXX/static-assert.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55552.177680.patch
Type: text/x-patch
Size: 4225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/4cadd112/attachment.bin>
More information about the llvm-commits
mailing list