mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Callback was not executed on OS X when it was a function.
llvm-svn: 51814
This commit is contained in:
parent
43a47ddd89
commit
611c1b0f47
@ -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…
x
Reference in New Issue
Block a user