summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/StratifiedSets.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-09-02 23:50:01 +0000
committerHal Finkel <hfinkel@anl.gov>2014-09-02 23:50:01 +0000
commit1ae325f53d694ac968ea870369fec077fdcdb026 (patch)
treec699c40f001c0cbcf32647012edd5f727a1af61d /llvm/lib/Analysis/StratifiedSets.h
parentbb8fd4ccdb9d1c11c0c98840af21a24c27a90f15 (diff)
downloadbcm5719-llvm-1ae325f53d694ac968ea870369fec077fdcdb026.tar.gz
bcm5719-llvm-1ae325f53d694ac968ea870369fec077fdcdb026.zip
[CFLAA] And even more MSVC fixes
Remove a couple more initializer lists and constexpr dependencies. llvm-svn: 216998
Diffstat (limited to 'llvm/lib/Analysis/StratifiedSets.h')
-rw-r--r--llvm/lib/Analysis/StratifiedSets.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/StratifiedSets.h b/llvm/lib/Analysis/StratifiedSets.h
index 8a04bb302bf..d557bf7ae48 100644
--- a/llvm/lib/Analysis/StratifiedSets.h
+++ b/llvm/lib/Analysis/StratifiedSets.h
@@ -54,8 +54,7 @@ struct StratifiedLink {
// Optional<StratifiedIndex> because Optional<StratifiedIndex> would
// eat up a considerable amount of extra memory, after struct
// padding/alignment is taken into account.
- static const auto SetSentinel =
- std::numeric_limits<StratifiedIndex>::max();
+ static const StratifiedIndex SetSentinel;
// \brief The index for the set "above" current
StratifiedIndex Above;
OpenPOWER on IntegriCloud