summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprConstant.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp
index ca775bf0509..81209da6c6f 100644
--- a/clang/lib/CodeGen/CGExprConstant.cpp
+++ b/clang/lib/CodeGen/CGExprConstant.cpp
@@ -701,14 +701,6 @@ public:
CGM.GetStringForStringLiteral(E), false);
}
- llvm::Constant *VisitObjCSelectorExpr(const ObjCSelectorExpr *E) {
- ObjCMethodDecl *OMD = E->getMethodDecl();
- if (OMD)
- return CGM.getObjCRuntime().GetConstantTypedSelector(OMD);
- else
- return CGM.getObjCRuntime().GetConstantSelector(E->getSelector());
- }
-
llvm::Constant *VisitObjCEncodeExpr(ObjCEncodeExpr *E) {
// This must be an @encode initializing an array in a static initializer.
// Don't emit it as the address of the string, emit the string data itself
OpenPOWER on IntegriCloud