summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-04-22 20:26:39 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-04-22 20:26:39 +0000
commit63408e848bdb8a2a37d51a0ebcc233f849ae498e (patch)
tree46aac29a16033f7dae649c299479a4cc75e83ef9 /clang/lib/CodeGen/CodeGenModule.h
parentf1223bdec0cbd7e6a44a8f60e45ce1cf9753e38c (diff)
downloadbcm5719-llvm-63408e848bdb8a2a37d51a0ebcc233f849ae498e.tar.gz
bcm5719-llvm-63408e848bdb8a2a37d51a0ebcc233f849ae498e.zip
Support for -fno-constant-cfstrings option - wip.
llvm-svn: 102112
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 8bfa0b9ab79..7e52f76b3c2 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -250,6 +250,10 @@ public:
/// GetAddrOfConstantCFString - Return a pointer to a constant CFString object
/// for the given string.
llvm::Constant *GetAddrOfConstantCFString(const StringLiteral *Literal);
+
+ /// GetAddrOfConstantNSString - Return a pointer to a constant NSString object
+ /// for the given string.
+ llvm::Constant *GetAddrOfConstantNSString(const StringLiteral *Literal);
/// GetAddrOfConstantStringFromLiteral - Return a pointer to a constant array
/// for the given string literal.
OpenPOWER on IntegriCloud