aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
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
commit1d95e9f493b8747e376c61f27041e0018a96326b (patch)
tree917f17f83fe2ff30dbdb34e232aff19d77616c23 /utils/TableGen
parentd70f5a8f7b3dbf2951dd1090ad482436e8bbf3bf (diff)
downloadexternal_llvm-1d95e9f493b8747e376c61f27041e0018a96326b.zip
external_llvm-1d95e9f493b8747e376c61f27041e0018a96326b.tar.gz
external_llvm-1d95e9f493b8747e376c61f27041e0018a96326b.tar.bz2
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/TableGen')
-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 260da0a..15803f2 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");