diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-05 13:45:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-05 13:45:23 +0000 |
commit | 9de4342ef79a18c706e46bc23f8f579f5add2375 (patch) | |
tree | 0113b24c323c954559aae267927149a574d2cb38 /lib/CodeGen/CodeGenModule.h | |
parent | 9085e6f97aa009c3e3aaa88e4afbfa74492f270f (diff) |
StringRefify.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 73e6ece147..4a1575a23f 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -437,7 +437,7 @@ public: /// /// \param GlobalName If provided, the name to use for the global /// (if one is created). - llvm::Constant *GetAddrOfConstantString(const std::string& str, + llvm::Constant *GetAddrOfConstantString(llvm::StringRef Str, const char *GlobalName=0); /// GetAddrOfConstantCString - Returns a pointer to a character array |