commit | d4a282be92ee55a0b392e45ce4582231af271d27 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Thu Sep 20 18:57:53 2012 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Thu Sep 20 18:57:53 2012 +0000 |
tree | af27cf9c80ac8a13b4911b39aaf3b23f90dfbced | |
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