summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/Rewriter.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-08-15 19:45:28 +0000
committerReid Kleckner <rnk@google.com>2019-08-15 19:45:28 +0000
commited399a69e2a0fc40418c3bc955e5cb2787aa93fa (patch)
treecb0c9361ca9297c5261dd9c0fcabd66ebc4f17a3 /clang/lib/Rewrite/Rewriter.cpp
parent82bfd1d25712f8c1b714614f3df559c773f08988 (diff)
downloadbcm5719-llvm-ed399a69e2a0fc40418c3bc955e5cb2787aa93fa.tar.gz
bcm5719-llvm-ed399a69e2a0fc40418c3bc955e5cb2787aa93fa.zip
[Sema] Implement DR2386 for C++17 structured binding
Allow implementations to provide complete definitions of std::tuple_size<T>, but to omit the 'value' member to signal that T is not tuple-like. The Microsoft standard library implements std::tuple_size<const T> this way. If the value member exists, clang still validates that it is an ICE, but if it does not, then the type is considered to not be tuple-like. Fixes PR33236 Reviewers: rsmith Differential Revision: https://reviews.llvm.org/D66040 llvm-svn: 369043
Diffstat (limited to 'clang/lib/Rewrite/Rewriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud