diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-07-22 17:56:53 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-07-22 17:56:53 +0000 |
commit | a11b4bfcbeaa9ccbd0a8c709f9b36c24a8734ef1 (patch) | |
tree | ace98c13335d3235a362b26335f01bc5856a8cd4 /clang/lib/Frontend/PCHWriterDecl.cpp | |
parent | f7109438ea0f742fc39a6d7ba4dfa8ae7336b174 (diff) | |
download | bcm5719-llvm-a11b4bfcbeaa9ccbd0a8c709f9b36c24a8734ef1.tar.gz bcm5719-llvm-a11b4bfcbeaa9ccbd0a8c709f9b36c24a8734ef1.zip |
Don't crash when an explicit template instantiation has no user-written
arguments. This happens in clang itself where template:
template <typename T> T const *getAs();
gets specialized with:
template<> inline clang::TypedefType const *getAs() { ... }
and there's no TemplateArgumentList.
llvm-svn: 109127
Diffstat (limited to 'clang/lib/Frontend/PCHWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions