From c389e944cd7339c58ed66bb3aee9d1a1ccf77ed9 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 8 Nov 2008 19:43:32 +0000 Subject: [PATCH] Allow $CALL and $ENV in command names. Fixes #3025. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58922 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/LLVMCConfigurationEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 34253524cc7..a68c0561cea 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -1211,7 +1211,7 @@ void EmitGenerateActionMethod (const ToolProperties& P, << Indent2 << "const InputLanguagesSet& InLangs,\n" << Indent2 << "const LanguageMap& LangMap) const\n" << Indent1 << "{\n" - << Indent2 << "const char* cmd;\n" + << Indent2 << "std::string cmd;\n" << Indent2 << "std::vector vec;\n"; // cmd_line is either a string or a 'case' construct. -- 2.34.1