aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-11-08 19:43:32 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-11-08 19:43:32 +0000
commitc389e944cd7339c58ed66bb3aee9d1a1ccf77ed9 (patch)
tree55c9acddf48bd07673a56eb34c3337a113ae26f0 /utils
parent73655bc67f702d1b160342289eced100fde6dd18 (diff)
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 34253524cc..a68c0561ce 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<std::string> vec;\n";
// cmd_line is either a string or a 'case' construct.