[llvm-commits] [llvm] r111620 - in /llvm/trunk: tools/llvmc/examples/mcc16/Hooks.cpp utils/TableGen/LLVMCConfigurationEmitter.cpp

Sylvere Teissier st at invia.fr
Fri Aug 20 10:36:58 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Alias generation on my gcc version is broken with errors like that:

"error: explicit qualification in declaration of
?llvmc::autogenerated::Alias_Os?"


Please Apply this Patch:

diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp
b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 3259bd2..a287d6b 100644
- --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -262,7 +262,7 @@ struct OptionDescription {
   /// GenVariableName - Returns the variable name used in the
   /// generated C++ code.
   std::string GenVariableName() const
- -  { return "autogenerated::" + GenOptionType() +
EscapeVariableName(Name); }
+  { return GenOptionType() + EscapeVariableName(Name); }

   /// GenPlainVariableName - Returns the variable name without the
namespace
   /// prefix.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMbr06AAoJENlXRqSDmxB9jfMIAMYWNpJT/f85rFaYahY56bYq
8ekLXC1WN7JA7xdTaKxEz5nkyqNpjSrNqPzLmCiwSJQVfaAb6f8ipqBoOjsPaJT0
uhRBP7DkgSzI/XdXtRBYkFRXyQ1dyYipoG3rE/GqqR3ryka+56SUgtS0LhDzN2o1
x4wkjDJyVjmdVgITa/tqgTSkY3zhRoGoZxMCw+wJ912HkLaaRyFob06WSBsIufRx
LjSLxCggNGbrbSMmyOmOZ7jzO3zRJKq+CbFcjdu9wnmPKqkzuMTnYUI4E71maHFw
rGVQVtz6n8gT6FWKU/OqUd9fLivKm2gXjA+1wjicwI6rhTpp8j6IszlcfnDYLpY=
=XqlJ
-----END PGP SIGNATURE-----



More information about the llvm-commits mailing list