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:
0e3fbf6
)
[Any] Fix a typo: didn't use the correct argument
author
Philip Pfaffe
<philip.pfaffe@gmail.com>
Fri, 20 Jul 2018 17:24:11 +0000
(17:24 +0000)
committer
Philip Pfaffe
<philip.pfaffe@gmail.com>
Fri, 20 Jul 2018 17:24:11 +0000
(17:24 +0000)
llvm-svn: 337583
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
f62d603
..
2be15bb
100644
(file)
--- a/
llvm/include/llvm/ADT/Any.h
+++ b/
llvm/include/llvm/ADT/Any.h
@@
-110,7
+110,7
@@
template <typename T> bool any_isa(const Any &Value) {
template <class T> T any_cast(const Any &Value) {
using U =
typename std::remove_cv<typename std::remove_reference<T>::type>::type;
- return static_cast<T>(*any_cast<U>(&
operand
));
+ return static_cast<T>(*any_cast<U>(&
Value
));
}
template <class T> T any_cast(Any &Value) {