OSDN Git Service

[CFLAA] LLVM_CONSTEXPR -> const
authorHal Finkel <hfinkel@anl.gov>
Tue, 2 Sep 2014 22:26:06 +0000 (22:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 2 Sep 2014 22:26:06 +0000 (22:26 +0000)
The number is just a constant, and this should make MSVC happy (or at least
happier).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216981 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/StratifiedSets.h

index c03abe3..3000d5b 100644 (file)
@@ -38,7 +38,7 @@ struct StratifiedInfo {
 // The number of attributes that StratifiedAttrs should contain. Attributes are
 // described below, and 32 was an arbitrary choice because it fits nicely in 32
 // bits (because we use a bitset for StratifiedAttrs).
-static LLVM_CONSTEXPR unsigned NumStratifiedAttrs = 32;
+static const unsigned NumStratifiedAttrs = 32;
 
 // These are attributes that the users of StratifiedSets/StratifiedSetBuilders
 // may use for various purposes. These also have the special property of that