summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-25 20:41:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-25 20:41:38 +0000
commitf0b65979d2eea490104c8f6a6230cceeda2aab70 (patch)
tree074be3522a280e67245a6fd3fc147db85801cfcc /lib/CodeGen/CodeGenFunction.cpp
parentfbba3c174ca9006db4ea9837ccb0294be1ea39d1 (diff)
downloadclang-f0b65979d2eea490104c8f6a6230cceeda2aab70.tar.gz
clang-f0b65979d2eea490104c8f6a6230cceeda2aab70.tar.bz2
clang-f0b65979d2eea490104c8f6a6230cceeda2aab70.tar.xz
Print detailed vector type information on diagnostics.
We never aka vector types because our attributed syntax for it is less comprehensible than the typedefs. This leaves the user in the dark when the typedef isn't named that well. Example: v2s v; v4f w; w = v; The naming in this cases isn't even that bad, but the error we give is useless without looking up the actual typedefs. t.c:6:5: error: assigning to 'v4f' from incompatible type 'v2s' Now: t.c:6:5: error: assigning to 'v4f' (vector of 4 'float' values) from incompatible type 'v2s' (vector of 2 'int' values) We do this for all diagnostics that print a vector type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions