projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201b785
)
[ADT] Remove deprecated Any::hasValue
author
Kazu Hirata
<kazu@google.com>
Sat, 19 Nov 2022 21:45:27 +0000
(13:45 -0800)
committer
Kazu Hirata
<kazu@google.com>
Sat, 19 Nov 2022 21:45:27 +0000
(13:45 -0800)
Note that I deprecated Any::hasValue on August 20, 2022 in commit
abb6271d809b37d3c3318894d697d5820032bec8
.
llvm/include/llvm/ADT/Any.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/Any.h
b/llvm/include/llvm/ADT/Any.h
index
7147359
..
0e2f587
100644
(file)
--- a/
llvm/include/llvm/ADT/Any.h
+++ b/
llvm/include/llvm/ADT/Any.h
@@
-102,8
+102,6
@@
public:
return *this;
}
- LLVM_DEPRECATED("Use has_value instead.", "has_value")
- bool hasValue() const { return !!Storage; }
bool has_value() const { return !!Storage; }
void reset() { Storage.reset(); }