]> granicus.if.org Git - clang/commit
Merging r292561:
authorHans Wennborg <hans@hanshq.net>
Fri, 27 Jan 2017 16:26:10 +0000 (16:26 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 27 Jan 2017 16:26:10 +0000 (16:26 +0000)
commitfaf6e6df56928fe2ea5b9fba2c03ccdbf94e218b
tree083eabb785e085afc220a8c6cb87537acb5316d5
parentcadf1a490f9ae802ad340da5d9e2a272c81efa87
Merging r292561:
------------------------------------------------------------------------
r292561 | rsmith | 2017-01-19 17:19:46 -0800 (Thu, 19 Jan 2017) | 3 lines

PR31701: Fix crash on invalid caused by parsing a dependent initializer when we
don't know we're in a dependent context.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293297 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/SemaCXX/constant-expression.cpp