[llvm] r330686 - [llvm-objcopy] Adjust the code for the old versions of msvc
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 23 23:23:22 PDT 2018
Author: alexshap
Date: Mon Apr 23 23:23:22 2018
New Revision: 330686
URL: http://llvm.org/viewvc/llvm-project?rev=330686&view=rev
Log:
[llvm-objcopy] Adjust the code for the old versions of msvc
Follow-up for r330685.
Modified:
llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
Modified: llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp?rev=330686&r1=330685&r2=330686&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp (original)
+++ llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp Mon Apr 23 23:23:22 2018
@@ -58,7 +58,7 @@ enum ID {
#include "Opts.inc"
#undef PREFIX
-static constexpr opt::OptTable::Info ObjcopyInfoTable[] = {
+static const opt::OptTable::Info ObjcopyInfoTable[] = {
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELPTEXT, METAVAR, VALUES) \
{PREFIX, NAME, HELPTEXT, \
More information about the llvm-commits
mailing list