From ec70a874827fc39500ff93f5aa5089059464bc41 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Sep 2017 00:15:06 +0200 Subject: Undo modularization hacks for Clang that seem to be no longer necessary --- libbutl/filesystem.mxx | 2 +- libbutl/process.ixx | 6 ------ libbutl/utility.mxx | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) (limited to 'libbutl') diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx index 271220f..b4caffe 100644 --- a/libbutl/filesystem.mxx +++ b/libbutl/filesystem.mxx @@ -30,7 +30,7 @@ #include #include -#include //@@ MOD needed by timestamp module. +#include //@@ MOD needed by timestamp module (no re-export). #endif // Other includes. diff --git a/libbutl/process.ixx b/libbutl/process.ixx index c355855..fb076cf 100644 --- a/libbutl/process.ixx +++ b/libbutl/process.ixx @@ -40,14 +40,8 @@ namespace butl *args0_ = initial; initial = p.initial; - -#if defined(__cpp_modules) && defined(__clang__) //@@ MOD Clang ICE - recall = p.recall; - effect = p.effect; -#else recall = std::move (p.recall); effect = std::move (p.effect); -#endif args0_ = p.args0_; p.args0_ = nullptr; diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx index d36b0d9..8ef0d08 100644 --- a/libbutl/utility.mxx +++ b/libbutl/utility.mxx @@ -7,9 +7,7 @@ #endif #ifndef _WIN32 -#if !defined(__cpp_lib_modules) || !defined(__clang__) //@@ MOD Clang ICE # include // strcasecmp(), strncasecmp() -#endif #else # include // _stricmp(), _strnicmp() #endif -- cgit v1.1