[llvm] r275349 - Force a semicolon at the end of the LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE() macro.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 16:52:20 PDT 2016
Author: jlebar
Date: Wed Jul 13 18:52:19 2016
New Revision: 275349
URL: http://llvm.org/viewvc/llvm-project?rev=275349&view=rev
Log:
Force a semicolon at the end of the LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE() macro.
This silences a warning about an extra semicolon on gcc.
Modified:
llvm/trunk/include/llvm/ADT/BitmaskEnum.h
Modified: llvm/trunk/include/llvm/ADT/BitmaskEnum.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/BitmaskEnum.h?rev=275349&r1=275348&r2=275349&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/BitmaskEnum.h (original)
+++ llvm/trunk/include/llvm/ADT/BitmaskEnum.h Wed Jul 13 18:52:19 2016
@@ -60,7 +60,8 @@
using ::llvm::BitmaskEnumDetail::operator^; \
using ::llvm::BitmaskEnumDetail::operator|=; \
using ::llvm::BitmaskEnumDetail::operator&=; \
- using ::llvm::BitmaskEnumDetail::operator^=;
+ /* Force a semicolon at the end of this macro. */ \
+ using ::llvm::BitmaskEnumDetail::operator^=
namespace llvm {
More information about the llvm-commits
mailing list