Allow $CALL and $ENV in command names. Fixes #3025.
authorMikhail Glushenkov <foldr@codedgers.com>
Sat, 8 Nov 2008 19:43:32 +0000 (19:43 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Sat, 8 Nov 2008 19:43:32 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58922 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/LLVMCConfigurationEmitter.cpp

index 34253524cc7c2432a2cd6027fc937c75a342e152..a68c0561cea52e11b8368e74217d49b63f1fc231 100644 (file)
@@ -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<std::string> vec;\n";
 
   // cmd_line is either a string or a 'case' construct.