summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-24 14:13:17 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-24 14:13:17 +0000
commitf265dae1a323383a9308d4602f4c255248d18ac2 (patch)
tree69a74b78c495dcfc5f0e5ca0645246038ec0d101 /llvm
parentaef3b5b5e2d8bcb321832859464ff11100811609 (diff)
downloadbcm5719-llvm-f265dae1a323383a9308d4602f4c255248d18ac2.tar.gz
bcm5719-llvm-f265dae1a323383a9308d4602f4c255248d18ac2.zip
Revert "Declare GlobalValue::LinkageTypes based on unsigned."
This reverts commit r267335. The build has been broken for hours because of it: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/23352/ The correct fix is avoid using any enum in a bitfield. llvm-svn: 267341
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/GlobalValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/GlobalValue.h b/llvm/include/llvm/IR/GlobalValue.h
index 25e5ba18924..0d12fe86819 100644
--- a/llvm/include/llvm/IR/GlobalValue.h
+++ b/llvm/include/llvm/IR/GlobalValue.h
@@ -37,7 +37,7 @@ class GlobalValue : public Constant {
GlobalValue(const GlobalValue &) = delete;
public:
/// @brief An enumeration for the kinds of linkage for global values.
- enum LinkageTypes : unsigned {
+ enum LinkageTypes {
ExternalLinkage = 0,///< Externally visible function
AvailableExternallyLinkage, ///< Available for inspection, not emission.
LinkOnceAnyLinkage, ///< Keep one copy of function when linking (inline)
OpenPOWER on IntegriCloud