]> granicus.if.org Git - clang/commit
If a variable template is inside a context with template arguments that is being...
authorNick Lewycky <nicholas@mxc.ca>
Mon, 10 Aug 2015 21:54:08 +0000 (21:54 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 10 Aug 2015 21:54:08 +0000 (21:54 +0000)
commit1b029d302fa469975b82779303660c3ed35cc9b7
tree62aa232197c699018ec250d2be51e787dcdf5f65
parent956e8692af352f41606fb924e41620ba3e6d529d
If a variable template is inside a context with template arguments that is being instantiated, and that instantiation fails, fail our instantiation instead of crashing. Errors have already been emitted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244515 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaCXX/cxx1y-variable-templates_in_class.cpp