summaryrefslogtreecommitdiff
path: root/lib/AST/TemplateName.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-04 20:42:52 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-04 20:42:52 +0000
commita93fc9f053bae84cf7c2a04ea6b1b26e0ea44d8f (patch)
tree3d1d7e5ebabcfe31c26bdc66af0093a98c6281b4 /lib/AST/TemplateName.cpp
parentb710722d2348cd0945d2b4f02062c7f685146eb0 (diff)
downloadclang-a93fc9f053bae84cf7c2a04ea6b1b26e0ea44d8f.tar.gz
After an error of any kind has occurred, don't assert when attempting
to find the instantiated declaration within a template instantiation fails to do so. It's likely that the original instantiation got dropped due to instantiation failures, which doesn't actually break the invariants of the AST. This eliminates a number of crash-on-invalid failures, e.g., PR9300. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TemplateName.cpp')
0 files changed, 0 insertions, 0 deletions