]> granicus.if.org Git - clang/commit
[Sema] Extend GetSignedVectorType to deal with non ExtVector types
authorSimon Dardis <simon.dardis@imgtec.com>
Thu, 6 Apr 2017 10:38:03 +0000 (10:38 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Thu, 6 Apr 2017 10:38:03 +0000 (10:38 +0000)
commitebceafb9283e1642955d27afb73443d8784aa5ea
treea18a1be1423baca87ebbb3a944dc1387a120b273
parent81cea5f711eabd0a9d98e59518f7bb3b1c6dc8ce
[Sema] Extend GetSignedVectorType to deal with non ExtVector types

This improves some error messages which would otherwise refer to
ext_vector_type types in contexts where there are no such types.

Factored out from D25866 at reviewer's request.

Reviewers: bruno

Differential Revision: https://reviews.llvm.org/D31667

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/vector-ops.c