summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-25 03:27:29 +0000
committerVedant Kumar <vsk@apple.com>2016-06-25 03:27:29 +0000
commit49b4592c1a0aa1d71ef2c34adee9c08fb23c127c (patch)
tree4a786b8672de6326e86c716f1c87b6496ff6b45d
parent20c7a487187595a82677f3edd952608975b38fd2 (diff)
Try to fix the MSVC build
There's some kind of issue with using "constexpr unsigned" in an anonymous namespace. http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/13395 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273770 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvm-cov/SourceCoverageViewText.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-cov/SourceCoverageViewText.cpp b/tools/llvm-cov/SourceCoverageViewText.cpp
index a7cb5075583..50c87607ed0 100644
--- a/tools/llvm-cov/SourceCoverageViewText.cpp
+++ b/tools/llvm-cov/SourceCoverageViewText.cpp
@@ -19,8 +19,8 @@ using namespace llvm;
namespace {
-constexpr unsigned LineCoverageColumnWidth = 7;
-constexpr unsigned LineNumberColumnWidth = 5;
+static const unsigned LineCoverageColumnWidth = 7;
+static const unsigned LineNumberColumnWidth = 5;
/// \brief Get the width of the leading columns.
unsigned getCombinedColumnWidth(const CoverageViewOptions &Opts) {