r266178 - constexpr -> const to appease MSVC bots.

Sean Silva via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 14:09:09 PDT 2016


Thanks!

-- Sean Silva

On Wed, Apr 13, 2016 at 12:47 AM, Richard Smith via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: rsmith
> Date: Wed Apr 13 02:47:38 2016
> New Revision: 266178
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266178&view=rev
> Log:
> constexpr -> const to appease MSVC bots.
>
> Modified:
>     cfe/trunk/include/clang/Serialization/ASTWriter.h
>
> Modified: cfe/trunk/include/clang/Serialization/ASTWriter.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/ASTWriter.h?rev=266178&r1=266177&r2=266178&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Serialization/ASTWriter.h (original)
> +++ cfe/trunk/include/clang/Serialization/ASTWriter.h Wed Apr 13 02:47:38
> 2016
> @@ -787,7 +787,7 @@ class ASTRecordWriter {
>    /// declaration or type.
>    SmallVector<Stmt *, 16> StmtsToEmit;
>
> -  static constexpr int MaxOffsetIndices = 4;
> +  static const int MaxOffsetIndices = 4;
>    /// \brief Indices of record elements that describe offsets within the
>    /// bitcode. These will be converted to offsets relative to the current
>    /// record when emitted.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160413/d01b86a7/attachment.html>


More information about the cfe-commits mailing list