aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.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 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parente8839a755a338fac5e1205a7bb61f3e7c467bda1 (diff)
downloadllvm-65dbbb5dd6c5f8c00e2789e6796962091ab22fb7.zip
llvm-65dbbb5dd6c5f8c00e2789e6796962091ab22fb7.tar.gz
llvm-65dbbb5dd6c5f8c00e2789e6796962091ab22fb7.tar.bz2
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 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions