diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-05-25 21:37:59 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-05-25 21:37:59 +0000 |
| commit | d29bdc72bbefc938a23b51ac4282548d6e36d317 (patch) | |
| tree | 46e466c7949f7f7a47c276194af1d7bd643d9a32 /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | b6a667f0335027a8ed673d29af11fc6653781c11 (diff) | |
| download | llvm-d29bdc72bbefc938a23b51ac4282548d6e36d317.tar.gz llvm-d29bdc72bbefc938a23b51ac4282548d6e36d317.tar.bz2 llvm-d29bdc72bbefc938a23b51ac4282548d6e36d317.tar.xz | |
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
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
