r266178 - constexpr -> const to appease MSVC bots.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 00:47:38 PDT 2016


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.




More information about the cfe-commits mailing list