aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-07-25 14:24:54 -0700
committerNick Desaulniers <ndesaulniers@google.com>2023-07-25 14:25:25 -0700
commitef103adf60c6fccd3cc6d76b362c1c37c41da30f (patch)
treea8bb568f001e3bb85635c3f6c403c52f4d2e206a /clang/lib/CodeGen/CodeGenModule.h
parent15a484bf6990c5c3b759f5bbf99055612c20b924 (diff)
downloadllvm-ef103adf60c6fccd3cc6d76b362c1c37c41da30f.zip
llvm-ef103adf60c6fccd3cc6d76b362c1c37c41da30f.tar.gz
llvm-ef103adf60c6fccd3cc6d76b362c1c37c41da30f.tar.bz2
[clang][CodeGenModule] remove declaration of GetAddrOfConstantString
It looks like the definition was removed in cd21d541397e but the declaration was not. Surprisingly (to me), that doesn't seem to produce any kind of diagnostic. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D156182
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index c5de947..8517b1c 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1019,11 +1019,6 @@ public:
/// Return a pointer to a constant CFString object for the given string.
ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal);
- /// Return a pointer to a constant NSString object for the given string. Or a
- /// user defined String object as defined via
- /// -fconstant-string-class=class_name option.
- ConstantAddress GetAddrOfConstantString(const StringLiteral *Literal);
-
/// Return a constant array for the given string.
llvm::Constant *GetConstantArrayFromStringLiteral(const StringLiteral *E);