Revert "constexpr isn't right here."
authorJim Ingham <jingham@apple.com>
Tue, 13 Sep 2022 21:58:53 +0000 (14:58 -0700)
committerJim Ingham <jingham@apple.com>
Tue, 13 Sep 2022 21:58:53 +0000 (14:58 -0700)
This didn't help either.

This reverts commit 8433b210839ed655852428ba8b34bb67b191957a.

lldb/source/Interpreter/CommandInterpreter.cpp

index 8987871..2218d54 100644 (file)
@@ -105,9 +105,9 @@ static constexpr const char *InitFileWarning =
     "and\n"
     "accept the security risk.";
 
-const char * const CommandInterpreter::g_no_argument = "<no-argument>";
-const char * const CommandInterpreter::g_need_argument = "<need-argument>";
-const char * const CommandInterpreter::g_argument = "<argument>";
+constexpr const char *CommandInterpreter::g_no_argument = "<no-argument>";
+constexpr const char *CommandInterpreter::g_need_argument = "<need-argument>";
+constexpr const char *CommandInterpreter::g_argument = "<argument>";
 
 
 #define LLDB_PROPERTIES_interpreter