From: Pavel Labath Date: Fri, 11 Oct 2019 07:16:19 +0000 (+0000) Subject: Fix modules build for r374337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afe6e48a8a3892980ba50e0196ba206d1c553d20;p=llvm 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/BinaryFormat/Minidump.h b/include/llvm/BinaryFormat/Minidump.h index 0ecd341da8c..4ab5332e734 100644 --- a/include/llvm/BinaryFormat/Minidump.h +++ b/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 {