forked from OSchip/llvm-project
Callback was not executed on OS X when it was a function.
llvm-svn: 51814
This commit is contained in:
parent
666d664595
commit
f970edf9b7
|
@ -910,7 +910,7 @@ void EmitCaseTest(const DagInit& d, const char* IndentLevel,
|
|||
// void F(Init* Statement, const char* IndentLevel, std::ostream& O).
|
||||
template <typename F>
|
||||
void EmitCaseConstructHandler(const DagInit* d, const char* IndentLevel,
|
||||
const F& Callback, bool EmitElseIf,
|
||||
F Callback, bool EmitElseIf,
|
||||
const GlobalOptionDescriptions& OptDescs,
|
||||
std::ostream& O) {
|
||||
assert(d->getOperator()->getAsString() == "case");
|
||||
|
|
Loading…
Reference in New Issue