summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Constants.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2013-06-18 04:57:25 +0000
committerChris Lattner <sabre@nondot.org>2013-06-18 04:57:25 +0000
commit389ee19eabbfef205472ae1eb7131f8a2e32fde5 (patch)
tree1c81f0e8f09b64c8aa4d8b85377878abadfa38e3 /include/llvm/IR/Constants.h
parent098f1ba00a82f122072578e93c5a9f60593293c3 (diff)
downloadllvm-389ee19eabbfef205472ae1eb7131f8a2e32fde5.tar.gz
llvm-389ee19eabbfef205472ae1eb7131f8a2e32fde5.tar.bz2
llvm-389ee19eabbfef205472ae1eb7131f8a2e32fde5.tar.xz
remove some @deprecated markers: LLVM APIs aren't deprecated, they are removed when obsolete.
These APIs are still used, and the constant APIs are actually really important. Removing these makes -Wdocumentation more useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Constants.h')
-rw-r--r--include/llvm/IR/Constants.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/IR/Constants.h b/include/llvm/IR/Constants.h
index 2f29f54594..99aed0d873 100644
--- a/include/llvm/IR/Constants.h
+++ b/include/llvm/IR/Constants.h
@@ -112,7 +112,6 @@ public:
/// Return the constant as a 64-bit unsigned integer value after it
/// has been zero extended as appropriate for the type of this constant. Note
/// that this method can assert if the value does not fit in 64 bits.
- /// @deprecated
/// @brief Return the zero extended value.
inline uint64_t getZExtValue() const {
return Val.getZExtValue();
@@ -121,7 +120,6 @@ public:
/// Return the constant as a 64-bit integer value after it has been sign
/// extended as appropriate for the type of this constant. Note that
/// this method can assert if the value does not fit in 64 bits.
- /// @deprecated
/// @brief Return the sign extended value.
inline int64_t getSExtValue() const {
return Val.getSExtValue();