summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/StreamWriter.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-25 21:37:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-25 21:37:59 +0000
commit65dbbb5dd6c5f8c00e2789e6796962091ab22fb7 (patch)
treef6d6077b06e2b479998f812cf3e5a6785ae3d530 /llvm/tools/llvm-readobj/StreamWriter.cpp
parente8839a755a338fac5e1205a7bb61f3e7c467bda1 (diff)
downloadbcm5719-llvm-65dbbb5dd6c5f8c00e2789e6796962091ab22fb7.tar.gz
bcm5719-llvm-65dbbb5dd6c5f8c00e2789e6796962091ab22fb7.zip
tools: avoid use of std::function
Remove the use of the std::function and replace the capturing lambda with a non-capturing one, opting to pass the user data down to the context. This is needed as std::function is not yet available on all hosted platforms (it requires RTTI, which breaks on Windows). Thanks to Nico Rieck for pointing this out! llvm-svn: 209607
Diffstat (limited to 'llvm/tools/llvm-readobj/StreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud