summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-09 03:21:25 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-09 03:21:25 +0000
commit53b195c39cbd26a77776a51f051f1293a33c0d6a (patch)
treeb4daea3538a561a7697bf3b5a3d7d8738c440bac /llvm/lib
parent0dacbd8f3155775bc9fc2b39131a5eb83eded0d8 (diff)
downloadbcm5719-llvm-53b195c39cbd26a77776a51f051f1293a33c0d6a.tar.gz
bcm5719-llvm-53b195c39cbd26a77776a51f051f1293a33c0d6a.zip
[CFLAA] Make a constant variable `const`. NFC.
`const` was dropped by r274958, and the lack of `const` makes GCC6 (correctly) complain. llvm-svn: 274961
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/AliasAnalysisSummary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysisSummary.h b/llvm/lib/Analysis/AliasAnalysisSummary.h
index 6bf137a3972..4e68bd64b32 100644
--- a/llvm/lib/Analysis/AliasAnalysisSummary.h
+++ b/llvm/lib/Analysis/AliasAnalysisSummary.h
@@ -98,7 +98,7 @@ AliasAttrs getExternallyVisibleAttrs(AliasAttrs);
//===----------------------------------------------------------------------===//
/// The maximum number of arguments we can put into a summary.
-static unsigned MaxSupportedArgsInSummary = 50;
+LLVM_CONSTEXPR static unsigned MaxSupportedArgsInSummary = 50;
/// We use InterfaceValue to describe parameters/return value, as well as
/// potential memory locations that are pointed to by parameters/return value,
OpenPOWER on IntegriCloud