diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-11-08 19:43:32 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-11-08 19:43:32 +0000 |
commit | f5a294d08dbf7c6da27010577e71eeb33e9b86f5 (patch) | |
tree | c13ae9ed03ba9a4a85474b6df602166a0df20020 /llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | |
parent | a872e5af8a934f642c2ada6119babb70f073243b (diff) | |
download | bcm5719-llvm-f5a294d08dbf7c6da27010577e71eeb33e9b86f5.tar.gz bcm5719-llvm-f5a294d08dbf7c6da27010577e71eeb33e9b86f5.zip |
Allow $CALL and $ENV in command names. Fixes #3025.
llvm-svn: 58922
Diffstat (limited to 'llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp index 34253524cc7..a68c0561cea 100644 --- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/llvm/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. |