mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-20 07:05:46 +00:00
Attempt to bring peace to -Werror buildbots.
llvm-svn: 276022
This commit is contained in:
parent
d4c5e27a27
commit
398d9c0c4a
@ -12,6 +12,12 @@
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
||||
// Clang emits a warning on converting an object of type nullptr_t to bool,
|
||||
// even in generic code. Suppress it.
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wnull-conversion"
|
||||
#endif
|
||||
|
||||
struct A {};
|
||||
|
||||
template<typename T, bool CanCatchNullptr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user