summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-23 01:22:38 +0000
committerVedant Kumar <vsk@apple.com>2017-02-23 01:22:38 +0000
commite550d11d341a967a668b21753f7b13d677b83b8d (patch)
treeb3f7cb4a48aa96757e8192d98b693a65c0e748b4 /clang/lib/CodeGen/CodeGenFunction.h
parent1cba1408c03dbb339801e85dcd35d7fee5a7073b (diff)
downloadbcm5719-llvm-e550d11d341a967a668b21753f7b13d677b83b8d.tar.gz
bcm5719-llvm-e550d11d341a967a668b21753f7b13d677b83b8d.zip
Rename a helper function, NFC.
llvm-svn: 295918
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 80a9a0e5b11..99ab1a19361 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2030,8 +2030,9 @@ 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);
+ /// Check if \p E is a reference, or a C++ "this" pointer wrapped in value-
+ /// preserving casts.
+ static bool IsDeclRefOrWrappedCXXThis(const Expr *E);
/// EmitNullInitialization - Generate code to set a value of the given type to
/// null, If the type contains data member pointers, they will be initialized
OpenPOWER on IntegriCloud