[llvm] r207857 - Remove dead declaration.
Rafael Espindola
rafael.espindola at gmail.com
Fri May 2 11:37:07 PDT 2014
Author: rafael
Date: Fri May 2 13:37:07 2014
New Revision: 207857
URL: http://llvm.org/viewvc/llvm-project?rev=207857&view=rev
Log:
Remove dead declaration.
Modified:
llvm/trunk/include/llvm/IR/GlobalValue.h
Modified: llvm/trunk/include/llvm/IR/GlobalValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/GlobalValue.h?rev=207857&r1=207856&r2=207857&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/GlobalValue.h (original)
+++ llvm/trunk/include/llvm/IR/GlobalValue.h Fri May 2 13:37:07 2014
@@ -116,13 +116,6 @@ public:
Section = S;
}
- /// If the usage is empty (except transitively dead constants), then this
- /// global value can be safely deleted since the destructor will
- /// delete the dead constants as well.
- /// @brief Determine if the usage of this global value is empty except
- /// for transitively dead constants.
- bool use_empty_except_constants();
-
/// getType - Global values are always pointers.
inline PointerType *getType() const {
return cast<PointerType>(User::getType());
More information about the llvm-commits
mailing list