summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/anonymous-struct.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-04-13 21:37:24 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-04-13 21:37:24 +0000
commit1389418e18407da990cc5c503eb78d1bc8532fc8 (patch)
treecd200dff8f7e3e8eec47769e84a53a642b68ea88 /clang/test/SemaCXX/anonymous-struct.cpp
parentd0e9481c55e1edca268a240359d3acc4c2a212fa (diff)
downloadbcm5719-llvm-1389418e18407da990cc5c503eb78d1bc8532fc8.tar.gz
bcm5719-llvm-1389418e18407da990cc5c503eb78d1bc8532fc8.zip
PR32185: Revert r291512 and add a testcase for PR32185.
This reverts an attempt to check that types match when matching a dependently-typed non-type template parameter. (This comes up when matching the parameters of a template template parameter against the parameters of a template template argument.) The matching rules here are murky at best. Our behavior after this revert is definitely wrong for certain C++17 features (for 'auto' template parameter types within the parameter list of a template template argument in particular), but our behavior before this revert is wrong for some pre-existing testcases, so reverting to our prior behavior seems like our best option. llvm-svn: 300262
Diffstat (limited to 'clang/test/SemaCXX/anonymous-struct.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud