mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-30 04:18:16 +00:00
change makeNameProper to take a stringref instead of std::string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
class StringRef;
|
||||
class Type;
|
||||
class Module;
|
||||
class Value;
|
||||
@@ -111,7 +112,7 @@ public:
|
||||
/// does this for you, so there's no point calling it on the result
|
||||
/// from getValueName.
|
||||
///
|
||||
std::string makeNameProper(const std::string &x,
|
||||
std::string makeNameProper(StringRef x,
|
||||
ManglerPrefixTy PrefixTy = Mangler::Default);
|
||||
|
||||
/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
|
||||
|
||||
Reference in New Issue
Block a user