Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

naming fix

  • Loading branch information...
commit 69e318cad9936e9b1f3e77b4cf57c0cfe6ec45ef 1 parent 22a720a
@kripken authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Target/CppBackend/CPPBackend.cpp
View
2  lib/Target/CppBackend/CPPBackend.cpp
@@ -432,7 +432,7 @@ std::string CppWriter::getCppName(const Value* val) {
return I->second;
if (val->hasName())
- name = "_" + val->getName();
+ name = std::string("_") + val->getName().str();
else {
if (const GlobalVariable* GV = dyn_cast<GlobalVariable>(val)) {
name = std::string("gvar_") +
Please sign in to comment.
Something went wrong with that request. Please try again.