[llvm-commits] [llvm] r58922 - /llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp

Mikhail Glushenkov foldr at codedgers.com
Sat Nov 8 11:43:33 PST 2008


Author: foldr
Date: Sat Nov  8 13:43:32 2008
New Revision: 58922

URL: http://llvm.org/viewvc/llvm-project?rev=58922&view=rev
Log:
Allow $CALL and $ENV in command names. Fixes #3025.

Modified:
    llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp

Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp?rev=58922&r1=58921&r2=58922&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp Sat Nov  8 13:43:32 2008
@@ -1211,7 +1211,7 @@
     << 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.





More information about the llvm-commits mailing list