aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-15 16:02:29 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-15 16:02:29 +0000
commit4ac01401b1ec602a1f58c217544d3dcb5fcbd7f1 (patch)
treeda42c0819e310c566f0f83a8dc56dd3b6fa9b1da /lib/CodeGen/CGDecl.cpp
parentbf60a8c1de6397bc6b940c841dc74febb32ba568 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions