summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-07-13 23:52:19 +0000
committerJustin Lebar <jlebar@google.com>2016-07-13 23:52:19 +0000
commitd5bbd856e2a71201d8bf9b0cbcb5339df9bf9f12 (patch)
treec9dd5f14e64c608a5fcb945261be055073408940
parentcfed2564f74c2a6b6340030cd12d5c0708acd25c (diff)
downloadbcm5719-llvm-d5bbd856e2a71201d8bf9b0cbcb5339df9bf9f12.tar.gz
bcm5719-llvm-d5bbd856e2a71201d8bf9b0cbcb5339df9bf9f12.zip
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. llvm-svn: 275349
-rw-r--r--llvm/include/llvm/ADT/BitmaskEnum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/BitmaskEnum.h b/llvm/include/llvm/ADT/BitmaskEnum.h
index d97354d7af3..18c6ba5a3eb 100644
--- a/llvm/include/llvm/ADT/BitmaskEnum.h
+++ b/llvm/include/llvm/ADT/BitmaskEnum.h
@@ -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 {
OpenPOWER on IntegriCloud