forked from OSchip/llvm-project
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…
Reference in New Issue