diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-06-26 23:30:50 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-06-26 23:30:50 +0000 |
| commit | 33b90b34990a7738adebae30ef7ebf9d578ce9ae (patch) | |
| tree | bb3136eecf8e01596c2a62592665f1ac4185e09c /lib/CodeGen/CGExpr.cpp | |
| parent | 418dd3eb3e813235af089b5c88182941f8a03d20 (diff) | |
| download | clang-33b90b34990a7738adebae30ef7ebf9d578ce9ae.tar.gz clang-33b90b34990a7738adebae30ef7ebf9d578ce9ae.tar.bz2 clang-33b90b34990a7738adebae30ef7ebf9d578ce9ae.tar.xz | |
Handle all TemplateArguments in trivial TypeLocs.
Armed with a much better understanding of what
TemplateSpecializationTypeLoc::initializeArgLocs actually does, I now
understand that it's fine to just use an empty TemplateArgumentLocInfo
for Integral, Declaration, and NullPtr TemplateArguments.
Fixes PR14281. (The testcases are actually derived from libcxx_test in
deduction-crash.cpp because the original testcase was impossible to reduce.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
