]> granicus.if.org Git - clang/commit
Fix crash-on-invalid bug in template instantiation.
authorManuel Klimek <klimek@google.com>
Fri, 26 Jun 2015 02:15:04 +0000 (02:15 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 26 Jun 2015 02:15:04 +0000 (02:15 +0000)
commitb839522da5dbe5253c9258c49ece2024960a1358
tree5797f2567718d7fca85ed14a4156643832715292
parentac7732b72760e482652cd9eb3a23f3d9f345f553
Fix crash-on-invalid bug in template instantiation.

Get rid of code-path that (according to Richard Smith) is not needed but
leads to a crasher bug when assuming a template has been fully
instantiated and thus has a definition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/instantiate-explicitly-after-fatal.cpp [new file with mode: 0644]