~pali/llvm/lldb-trunk

Viewing all changes in revision 20846.

  • Committer: labath
  • Date: 2019-10-18 11:47:23 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:lldb/trunk:375221
SystemInitializerCommon fix compilation on linux

C++ defines two overloads of std::iscntrl. One in <cctype> and one in
<locale>. On linux we seem to include both which makes the std::erase_if
call ambiguous.

Wrap std::iscntrl call in a lambda to ensure regular overload
resolution.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: