]> granicus.if.org Git - clang/commit
PR19252: Fix crash if alignas is used with an auto-typed variable. Don't check
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 27 Mar 2014 01:22:48 +0000 (01:22 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 27 Mar 2014 01:22:48 +0000 (01:22 +0000)
commit0ec213d4c9a6141c881c4df3ae9dd667a18f95da
tree70c643320a466f115657e5e697fa77339d840dc8
parentc78b67d6c5a56d39765a648b717b3fff4712285b
PR19252: Fix crash if alignas is used with an auto-typed variable. Don't check
the type of the variable until it's known.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204887 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/dcl.dcl/dcl.attr/dcl.align/p5.cpp
test/SemaCXX/attr-cxx0x.cpp