]> granicus.if.org Git - clang/commit
When a dependent alignas is applied to a non-dependent typedef,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Jun 2018 23:36:55 +0000 (23:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Jun 2018 23:36:55 +0000 (23:36 +0000)
commitfc8d6b0b1110ed2dfdf4c9196500306f84db6b3f
tree0e720eb3993fa995e4a3fa3618c396cd55c378b8
parent63711c3cd337a0d22617579a904af07481139611
When a dependent alignas is applied to a non-dependent typedef,
prioritize the error for the bad subject over the error for the
dependent / non-dependent mismatch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335191 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/CXX/dcl.dcl/dcl.attr/dcl.align/p1.cpp [new file with mode: 0644]