Adjust msvc_stdlib_force_include.hpp to handle clang++
Summary: This patch adjusts the newly added `msvc_stdlib_force_include.hpp` so that it also works when used with `clang++`. Reviewers: STL_MSFT Reviewed By: STL_MSFT Differential Revision: https://reviews.llvm.org/D28917 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -468,10 +468,9 @@ class Configuration(object):
|
||||
self.cxx.compile_flags += [
|
||||
'-include', os.path.join(support_path, 'nasty_macros.hpp')]
|
||||
if self.cxx_stdlib_under_test == 'msvc':
|
||||
# FIXME: Uncomment this once STL commits the support header.
|
||||
# self.cxx.compile_flags += [
|
||||
# '-include', os.path.join(support_path,
|
||||
# 'msvc_stdlib_force_include.h')]
|
||||
self.cxx.compile_flags += [
|
||||
'-include', os.path.join(support_path,
|
||||
'msvc_stdlib_force_include.hpp')]
|
||||
pass
|
||||
if self.is_windows and self.debug_build and \
|
||||
self.cxx_stdlib_under_test != 'msvc':
|
||||
|
||||
Reference in New Issue
Block a user