Diff Detail
- Build Status
Buildable 8732 Build 8732: arc lint + arc unit
Event Timeline
include/llvm/ADT/STLExtras.h | ||
---|---|---|
61–62 | Should these changes be adding all these typedefs? I assume the reason std::unary_function et. al. are deprecated is that callers should likely be using decltype & similar things to work here instead? |
include/llvm/ADT/STLExtras.h | ||
---|---|---|
61–62 | Well, doing it this way makes it a NFC change. Plus, doing something like decltype to get the argument types adds a bit of unnecessary complexity though. |
What's the status of this? I have a project that's currently blocked from updating to clang 5 as it needs both C++17 and LLVM.
Any updates on this? I've found myself in the same situation as @Ralith, several months later.
Thanks!
The LLVM 6 RC seems to have had uses of std::{unary,binary}_function removed, and builds under clang 6's C++17 configurations, so if you don't absolutely need LLVM 5 specifically this is soon to be a nonissue.
Thanks for your response. I assumed that I'd be notified of responses by email but never was, so I didn't see it until now. I ended up updating to LLVM 6.0 after it was released and that solved my issue.
Should these changes be adding all these typedefs? I assume the reason std::unary_function et. al. are deprecated is that callers should likely be using decltype & similar things to work here instead?