diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-15 16:02:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-15 16:02:29 +0000 |
commit | 39c0272f6515ab4e783afae9702b6f40f3e20797 (patch) | |
tree | 1a7ba69845530ba5b9075eb3d61a5f6e2dcbe6b6 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 6874b26d0f6ad87634585b657a70d6996a7e30db (diff) | |
download | bcm5719-llvm-39c0272f6515ab4e783afae9702b6f40f3e20797.tar.gz bcm5719-llvm-39c0272f6515ab4e783afae9702b6f40f3e20797.zip |
Eliminate a 'default' case in template argument deduction, where we
were just punting on template argument deduction for a number of type
nodes. Most of them, obviously, didn't matter.
As a consequence of this, make extended vector types (via the
ext_vector_type attribute) actually work properly for several
important cases:
- If the attribute appears in a type-id (i.e, not attached to a
typedef), actually build a proper vector type
- Build ExtVectorType whenever the size is constant; previously, we
were building DependentSizedExtVectorType when the size was constant
but the type was dependent, which makes no sense at all.
- Teach template argument deduction to handle
ExtVectorType/DependentSizedExtVectorType.
llvm-svn: 133060
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions