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:
b251f62
)
Fix MSVC "signed/unsigned mismatch" warning. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 10 Jul 2018 09:46:57 +0000
(09:46 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 10 Jul 2018 09:46:57 +0000
(09:46 +0000)
llvm-svn: 336649
llvm/include/llvm/ADT/FunctionExtras.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/FunctionExtras.h
b/llvm/include/llvm/ADT/FunctionExtras.h
index
a8c7bc4
..
2b75dc6
100644
(file)
--- a/
llvm/include/llvm/ADT/FunctionExtras.h
+++ b/
llvm/include/llvm/ADT/FunctionExtras.h
@@
-44,7
+44,7
@@
template <typename FunctionT> class unique_function;
template <typename ReturnT, typename... ParamTs>
class unique_function<ReturnT(ParamTs...)> {
- static constexpr
in
t InlineStorageSize = sizeof(void *) * 3;
+ static constexpr
size_
t InlineStorageSize = sizeof(void *) * 3;
// MSVC has a bug and ICEs if we give it a particular dependent value
// expression as part of the `std::conditional` below. To work around this,