From: Kostya Serebryany Date: Tue, 26 Apr 2016 01:53:49 +0000 (+0000) Subject: trying to fix the windows build broken by r267496 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=681515a73ed133d84b37234c5758506732559faa;p=clang 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 --- diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 9170d5884f..dcea1a529e 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 >