//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu1.o -DTU1 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=1
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu2.o -DTU2 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=1
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu1.o -DTU1 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=2
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu2.o -DTU2 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=2
// test type_info
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeinfo>
#include <string>
// test type_info
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeinfo>
#include <cstring>
// UNSUPPORTED: c++03, c++11, c++14
-// XFAIL: -fno-rtti
+// XFAIL: no-rtti
// <any>
// This test runs in C++03, but we have deprecated using std::function in C++03.
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <functional>
#include <new>
// This test runs in C++03, but we have deprecated using std::function in C++03.
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <functional>
#include <typeinfo>
// template<class D, class T> D* get_deleter(const shared_ptr<T>& p);
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <memory>
#include <cassert>
// template<class T, class U> shared_ptr<T> dynamic_pointer_cast(const shared_ptr<U>& r);
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <memory>
#include <type_traits>
// size_t operator()(type_index index) const;
// };
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <type_traits>
// type_index(const type_info& rhs);
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeinfo>
#include <typeindex>
// bool operator==(const type_index& rhs) const;
// bool operator!=(const type_index& rhs) const;
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <cassert>
// size_t hash_code() const;
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <cassert>
// bool operator> (const type_index& rhs) const;
// bool operator>=(const type_index& rhs) const;
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <cassert>
// const char* name() const;
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <string>
// type_index& operator=(const type_index& ti);
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <cassert>
// type_index(const type_index& ti);
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <cassert>
// size_t operator()(type_index index) const;
// };
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include <typeindex>
#include <type_traits>
//
//===----------------------------------------------------------------------===//
-// Make sure the TEST_HAS_NO_RTTI macro is defined when the -fno-rtti feature
+// Make sure the TEST_HAS_NO_RTTI macro is defined when the no-rtti Lit feature
// is defined.
-// REQUIRES: -fno-rtti
+// REQUIRES: no-rtti
#include "test_macros.h"
//
//===----------------------------------------------------------------------===//
-// Make sure the TEST_HAS_NO_RTTI macro is NOT defined when the -fno-rtti
+// Make sure the TEST_HAS_NO_RTTI macro is NOT defined when the no-rtti Lit
// feature isn't defined.
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
#include "test_macros.h"
Parameter(name='enable_rtti', choices=[True, False], type=bool, default=True,
help="Whether to enable RTTI when compiling the test suite.",
feature=lambda rtti: None if rtti else
- Feature(name='-fno-rtti', compileFlag='-fno-rtti')),
+ Feature(name='no-rtti', compileFlag='-fno-rtti')),
Parameter(name='stdlib', choices=['libc++', 'libstdc++', 'msvc'], type=str, default='libc++',
help="The C++ Standard Library implementation being tested.",
// addresses.
// UNSUPPORTED: no-exceptions
-// UNSUPPORTED: -fno-rtti
+// UNSUPPORTED: no-rtti
// NOTE: Link libc++abi explicitly and before libc++ so that libc++ doesn't drag
// in the system libc++abi installation on OS X. (DYLD_LIBRARY_PATH is ignored