]> granicus.if.org Git - clang/commit
Fix a crash when the size of an 'auto' is needed and its initalizer
authorKaelyn Takata <rikka@google.com>
Tue, 17 Mar 2015 23:50:12 +0000 (23:50 +0000)
committerKaelyn Takata <rikka@google.com>
Tue, 17 Mar 2015 23:50:12 +0000 (23:50 +0000)
commitde2a93dd31e7590f7763432c253f75632980b9ed
treebfc9c14844b9dd915c8b710fd9bb6a948e870e69
parent771a27863f42db88554179bc0b225540b89b66a1
Fix a crash when the size of an 'auto' is needed and its initalizer
contained a typo correction (the auto decl was being marked as dependent
unnecessarily, which triggered an assertion in cases where the size of
the type is needed).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232568 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/cxx11-crashes.cpp