diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-08-20 11:24:51 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-08-20 11:24:51 +0000 |
commit | 7a57454d82625ff3325a378e5f0280128c4d1ee2 (patch) | |
tree | 8af19d3d5f78d4f5afd911f04a8153a5a19c0260 /tools/llvmc | |
parent | 03b6d4e04c72c49b01cb2eb5102675421eadbc4c (diff) | |
download | external_llvm-7a57454d82625ff3325a378e5f0280128c4d1ee2.zip external_llvm-7a57454d82625ff3325a378e5f0280128c4d1ee2.tar.gz external_llvm-7a57454d82625ff3325a378e5f0280128c4d1ee2.tar.bz2 |
llvmc: Do not prefix option names with AutoGenerated.
Since they now live in the namespace 'autogenerated'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r-- | tools/llvmc/examples/mcc16/Hooks.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/llvmc/examples/mcc16/Hooks.cpp b/tools/llvmc/examples/mcc16/Hooks.cpp index dea97e3..edb91e1 100644 --- a/tools/llvmc/examples/mcc16/Hooks.cpp +++ b/tools/llvmc/examples/mcc16/Hooks.cpp @@ -8,7 +8,7 @@ namespace llvmc { extern char *ProgramName; namespace autogenerated { - extern llvm::cl::opt<std::string> AutoGeneratedParameter_p; + extern llvm::cl::opt<std::string> Parameter_p; } } @@ -32,10 +32,10 @@ namespace hooks { std::string GetLowerCasePartDefine(void) { std::string Partname; - if (autogenerated::AutoGeneratedParameter_p.empty()) { + if (autogenerated::Parameter_p.empty()) { Partname = "16f1xxx"; } else { - Partname = autogenerated::AutoGeneratedParameter_p; + Partname = autogenerated::Parameter_p; } std::string LowerCase; @@ -49,10 +49,10 @@ GetLowerCasePartDefine(void) { std::string GetUpperCasePartDefine(void) { std::string Partname; - if (autogenerated::AutoGeneratedParameter_p.empty()) { + if (autogenerated::Parameter_p.empty()) { Partname = "16f1xxx"; } else { - Partname = autogenerated::AutoGeneratedParameter_p; + Partname = autogenerated::Parameter_p; } std::string UpperCase; |