aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-18 11:47:23 +0000
committerPavel Labath <pavel@labath.sk>2019-10-18 11:47:23 +0000
commit0c304917740228968d2daf1a414e7ec3f94cd171 (patch)
tree09886063c63c656f8c90a8010ed75a71302609f6 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent9c155985f17fd369bbba311b714fb6c01c17d66e (diff)
downloadllvm-0c304917740228968d2daf1a414e7ec3f94cd171.zip
llvm-0c304917740228968d2daf1a414e7ec3f94cd171.tar.gz
llvm-0c304917740228968d2daf1a414e7ec3f94cd171.tar.bz2
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. llvm-svn: 375221
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions