diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-10 18:33:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-10 18:33:27 +0000 |
commit | 98137534e612c274ba270af99d73429043957e53 (patch) | |
tree | 105f80f30754a9ed27dd8239bdec9585dd3dfd85 /lib/CodeGen/CodeGenModule.cpp | |
parent | 4e16d0478407b556c819b5836a3564a9fdee8d5f (diff) |
Add pretty-printing for class template specializations, e.g.,
'struct A<double, int>'
In the "template instantiation depth exceeded" message, print
"-ftemplate-depth-N" rather than "-ftemplate-depth=N".
An unnamed tag type that is declared with a typedef, e.g.,
typedef struct { int x, y; } Point;
can be used as a template argument. Allow this, and check that we get
sensible pretty-printing for such things.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions