summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-31 13:43:21 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-31 13:43:21 +0000
commit310d2eb202cf51dd03b4ef05893f6fd0203d7d52 (patch)
tree917f17f83fe2ff30dbdb34e232aff19d77616c23 /utils
parente56d946a383e3a7330c5fe8a8cf8c409174fb774 (diff)
downloadllvm-310d2eb202cf51dd03b4ef05893f6fd0203d7d52.tar.gz
llvm-310d2eb202cf51dd03b4ef05893f6fd0203d7d52.tar.bz2
llvm-310d2eb202cf51dd03b4ef05893f6fd0203d7d52.tar.xz
Callback was not executed on OS X when it was a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 260da0ac0f..15803f244f 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -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");