Skip to content

Commit

Permalink
Fix a typo in VariadicFunction.h that leads to invalid code in macro …
Browse files Browse the repository at this point in the history
…expansion.

Patch by Andy Gibbs <[email protected]>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161973 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chad Rosier committed Aug 15, 2012
1 parent c82cc58 commit 58aae38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/ADT/VariadicFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, makeAraryRef(Args)); \
return Func(P0, P1, makeArrayRef(Args)); \
}
LLVM_DEFINE_OVERLOAD(1)
LLVM_DEFINE_OVERLOAD(2)
Expand Down

0 comments on commit 58aae38

Please sign in to comment.