[Lldb-commits] [lldb] 8433b21 - constexpr isn't right here.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 13 13:02:07 PDT 2022


Author: Jim Ingham
Date: 2022-09-13T13:01:56-07:00
New Revision: 8433b210839ed655852428ba8b34bb67b191957a

URL: https://github.com/llvm/llvm-project/commit/8433b210839ed655852428ba8b34bb67b191957a
DIFF: https://github.com/llvm/llvm-project/commit/8433b210839ed655852428ba8b34bb67b191957a.diff

LOG: constexpr isn't right here.

Added: 
    

Modified: 
    lldb/source/Interpreter/CommandInterpreter.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 2218d54e3d97..89878713161b 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -105,9 +105,9 @@ static constexpr const char *InitFileWarning =
     "and\n"
     "accept the security risk.";
 
-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>";
+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>";
 
 
 #define LLDB_PROPERTIES_interpreter


        


More information about the lldb-commits mailing list