projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82cc58
)
Fix a typo in VariadicFunction.h that leads to invalid code in macro expansion.
author
Chad Rosier
<mcrosier@apple.com>
Wed, 15 Aug 2012 18:48:14 +0000
(18:48 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Wed, 15 Aug 2012 18:48:14 +0000
(18:48 +0000)
Patch by Andy Gibbs <andyg1001@hotmail.co.uk>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161973
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/VariadicFunction.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/VariadicFunction.h
b/include/llvm/ADT/VariadicFunction.h
index a9a0dc6b6e20b4851e5f542d189676b15db9486e..a7f83a6bca9d8a27fde7cdcae97e4835485dae20 100644
(file)
--- a/
include/llvm/ADT/VariadicFunction.h
+++ b/
include/llvm/ADT/VariadicFunction.h
@@
-206,7
+206,7
@@
struct VariadicFunction2 {
ResultT operator()(Param0T P0, Param1T P1, \
LLVM_COMMA_JOIN ## N(const ArgT &A)) const { \
const ArgT *const Args[] = { LLVM_COMMA_JOIN ## N(&A) }; \
- return Func(P0, P1, makeAr
ar
yRef(Args)); \
+ return Func(P0, P1, makeAr
ra
yRef(Args)); \
}
LLVM_DEFINE_OVERLOAD(1)
LLVM_DEFINE_OVERLOAD(2)