commit | 5e58c570294d7b0d45f1a48ff1316b7265c8e933 | [log] [tgz] |
---|---|---|
author | Pavel Labath <pavel@labath.sk> | Fri Oct 18 11:47:23 2019 +0000 |
committer | Pavel Labath <pavel@labath.sk> | Fri Oct 18 11:47:23 2019 +0000 |
tree | 8ae8a6a4a37a97bacc954bfbc8b26f95ba29806c | |
parent | 202de0bf443eedcfd5f73a3a8e786c738271498c [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@375221 91177308-0d34-0410-b5e6-96231b3b80d8