From ebf7c03b9303db9d85433b70f76cb832958a97da Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 25 Oct 2021 10:18:25 -0400 Subject: Prevent the streampos_simplifier and ios_base_simplifiers from running to avoid conflicting type names --- suite/testcommon.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/suite/testcommon.py b/suite/testcommon.py index 2d67bba1..52cdc242 100644 --- a/suite/testcommon.py +++ b/suite/testcommon.py @@ -679,11 +679,22 @@ class TestBuilder(Builder): "std::basic_ofstream >", "std::basic_fstream >", - "std::fpos<__mbstate_t>", - "std::_Ios_Iostate", - "std::_Ios_Seekdir", - "std::_Ios_Openmode", - "std::_Ios_Fmtflags", + # The following simplifiers should probably be done as typedefs some where as they can appear both + # as the simplified and unsimplified name in the type libraries and in mangled names + # "std::fpos<__mbstate_t>", + # "std::_Ios_Iostate", + # "std::_Ios_Seekdir", + # "std::_Ios_Openmode", + # "std::_Ios_Fmtflags", + + # The following 5 entries are the simplified versions of the above so we don't have to re-generate + # unit test results. + "std::streampos", + "std::ios_base::iostate", + "std::ios_base::seekdir", + "std::ios_base::openmode", + "std::ios_base::fmtflags", + "std::foo >", "std::bar >::bar", -- cgit v1.3.1