diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-09-20 18:57:53 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-09-20 18:57:53 +0000 |
commit | d4a282be92ee55a0b392e45ce4582231af271d27 (patch) | |
tree | af27cf9c80ac8a13b4911b39aaf3b23f90dfbced /lib/Sema/SemaChecking.cpp | |
parent | 0008c0caf6e74755fedd197a1ccfd47623dd65d6 (diff) |
Make the wchar_t promotion test consistent across different hosts by specifying a target triple.
This test behavior differs depending (at least) on whether
sizeof(wchar_t) == sizeof(int) or not.
When they are equal, the first redeclaration will fail because decltype(+L'x')
is unsigned int instead of the expected int. This occurs on ARM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions