commit | d29bdc72bbefc938a23b51ac4282548d6e36d317 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sun May 25 21:37:59 2014 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sun May 25 21:37:59 2014 +0000 |
tree | 46e466c7949f7f7a47c276194af1d7bd643d9a32 | |
parent | b6a667f0335027a8ed673d29af11fc6653781c11 [diff] |
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209607 91177308-0d34-0410-b5e6-96231b3b80d8