diff options
Diffstat (limited to 'clang/lib/CodeGen/CGObjCRuntime.h')
| -rw-r--r-- | clang/lib/CodeGen/CGObjCRuntime.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCRuntime.h b/clang/lib/CodeGen/CGObjCRuntime.h index 4610ef8b65e..5e8172b6651 100644 --- a/clang/lib/CodeGen/CGObjCRuntime.h +++ b/clang/lib/CodeGen/CGObjCRuntime.h @@ -59,8 +59,7 @@ public: virtual llvm::Value *GetSelector(BuilderType &Builder, Selector Sel) =0; /// Generate a constant string object - virtual llvm::Constant *GenerateConstantString(const char *String, - const size_t Length) = 0; + virtual llvm::Constant *GenerateConstantString(const std::string &String) = 0; /// Generate a category. A category contains a list of methods (and /// accompanying metadata) and a list of protocols. virtual void GenerateCategory(const char *ClassName, const char *CategoryName, |

