aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc')
-rw-r--r--tools/llvmc/examples/mcc16/Hooks.cpp10
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;