From 681515a73ed133d84b37234c5758506732559faa Mon Sep 17 00:00:00 2001 From: Kostya Serebryany <kcc@google.com> Date: Tue, 26 Apr 2016 01:53:49 +0000 Subject: [PATCH] trying to fix the windows build broken by r267496 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267513 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 9170d5884f6..dcea1a529ee 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -6724,7 +6724,7 @@ ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, } // Compute the byval alignment. - constexpr unsigned MinABIStackAlignInBytes = 4; + const unsigned MinABIStackAlignInBytes = 4; unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; return ABIArgInfo::getIndirect(CharUnits::fromQuantity(4), /*ByVal=*/true, /*Realign=*/TypeAlign > -- GitLab