diff options
| author | Enrico Granata <egranata@apple.com> | 2016-03-15 23:38:04 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2016-03-15 23:38:04 +0000 |
| commit | ab2b0cb992481a4e25d3f6ae3dbd07fc798ce4a6 (patch) | |
| tree | f8394b34a7ed277654f83d1cb20c46fe238033a6 /llvm/unittests/Support/ErrorTest.cpp | |
| parent | 35f94bb72cc084d596d27de3691b156c5a715629 (diff) | |
| download | llvm-ab2b0cb992481a4e25d3f6ae3dbd07fc798ce4a6.zip llvm-ab2b0cb992481a4e25d3f6ae3dbd07fc798ce4a6.tar.gz llvm-ab2b0cb992481a4e25d3f6ae3dbd07fc798ce4a6.tar.bz2 | |
On some platforms, the compiler is allowed to assume that BOOL == bool. On others, BOOL == signed char.
This can cause differences in which bit patterns end up meaning YES or NO. In general, however, 0 == NO and 1 == YES.
To keep it simple, LLDB will now show "YES" and "NO" only for 1 and 0 respectively, and format other values as the plain numeric value instead.
Fixes rdar://24809994
llvm-svn: 263604
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions
