From: Mikhail Glushenkov Date: Sat, 8 Nov 2008 19:43:32 +0000 (+0000) Subject: Allow $CALL and $ENV in command names. Fixes #3025. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c389e944cd7339c58ed66bb3aee9d1a1ccf77ed9;p=oota-llvm.git 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 --- 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.