summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-11 07:16:19 +0000
committerPavel Labath <pavel@labath.sk>2019-10-11 07:16:19 +0000
commit7ff28ce18351f38719ca0e6ed666f922cc21e379 (patch)
tree3ca9355a46f1b135113c8f15d570d5c5b2c712b2
parent282eff38477ebf665f88f52411edd591067af883 (diff)
downloadbcm5719-llvm-7ff28ce18351f38719ca0e6ed666f922cc21e379.tar.gz
bcm5719-llvm-7ff28ce18351f38719ca0e6ed666f922cc21e379.zip
Fix modules build for r374337
A modules build failed with the following error: call to function 'operator&' that is neither visible in the template definition nor found by argument-dependent lookup Fix that by declaring the appropriate operators in the llvm::minidump namespace. llvm-svn: 374517
-rw-r--r--llvm/include/llvm/BinaryFormat/Minidump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Minidump.h b/llvm/include/llvm/BinaryFormat/Minidump.h
index 0ecd341da8c..4ab5332e734 100644
--- a/llvm/include/llvm/BinaryFormat/Minidump.h
+++ b/llvm/include/llvm/BinaryFormat/Minidump.h
@@ -25,6 +25,8 @@
namespace llvm {
namespace minidump {
+LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE();
+
/// The minidump header is the first part of a minidump file. It identifies the
/// file as a minidump file, and gives the location of the stream directory.
struct Header {
OpenPOWER on IntegriCloud