diff options
| author | James Henderson <jh7370@my.bristol.ac.uk> | 2018-10-30 10:55:14 +0000 |
|---|---|---|
| committer | James Henderson <jh7370@my.bristol.ac.uk> | 2018-10-30 10:55:14 +0000 |
| commit | 1e74ecab174d4e4d5b7c2403b00778f3baa2262e (patch) | |
| tree | 9dd3cc418b2814377277ba7535b1fb3d18646e22 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h | |
| parent | 858303b827f0cfcc242ed7852cc36b7dd5a0e95c (diff) | |
| download | llvm-1e74ecab174d4e4d5b7c2403b00778f3baa2262e.zip llvm-1e74ecab174d4e4d5b7c2403b00778f3baa2262e.tar.gz llvm-1e74ecab174d4e4d5b7c2403b00778f3baa2262e.tar.bz2 | |
[ELF][PPC64]Workaround bogus Visual Studio build warning
Visual Studio has a bug where it converts the integer literal 2147483648
into an unsigned int instead of a long long (i.e. it follows C89 rules).
The bug has been reported as:
https://developercommunity.visualstudio.com/content/problem/141813/-2147483648-c4146-error.html.
Because of this bug, we were getting a signed/unsigned comparison
warning in VS2015 from the old code (the subsequent unary negation had
no effect on the type).
Reviewed by: sfertile
Differential Revision: https://reviews.llvm.org/D53821
llvm-svn: 345579
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
