summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-17 01:42:36 +0000
committerVedant Kumar <vsk@apple.com>2017-02-17 01:42:36 +0000
commit4f94a94bea308938a0ef2cc591b158f787ebd5d3 (patch)
tree300e50b21d6f4e28dda36f9299b1d22612685ac0 /clang/lib/CodeGen/CodeGenFunction.h
parent95ed51dcfe578047734aa91476132d09c3683f9a (diff)
downloadbcm5719-llvm-4f94a94bea308938a0ef2cc591b158f787ebd5d3.tar.gz
bcm5719-llvm-4f94a94bea308938a0ef2cc591b158f787ebd5d3.zip
Revert "[ubsan] Reduce null checking of C++ object pointers (PR27581)"
This reverts commit r295391. It breaks this bot: http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/1898 I need to not rely on labels in the IR test. llvm-svn: 295396
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 406e3db7969..b830df73ca7 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2030,9 +2030,6 @@ public:
llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L);
llvm::BasicBlock *GetIndirectGotoBlock();
- /// Check if the null check for \p ObjectPointer can be skipped.
- static bool CanElideObjectPointerNullCheck(const Expr *ObjectPointer);
-
/// EmitNullInitialization - Generate code to set a value of the given type to
/// null, If the type contains data member pointers, they will be initialized
/// to -1 in accordance with the Itanium C++ ABI.
OpenPOWER on IntegriCloud