Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / cxx-typeid.h
blobf10f4de87c0ae177c9d24054ee0a76c016fac60b
1 // Header for PCH test cxx-typeid.cpp
3 #ifndef CXX_TYPEID_H
4 #define CXX_TYPEID_H
6 namespace std {
8 class type_info
10 public:
11 virtual ~type_info();
13 bool operator==(const type_info& rhs) const;
14 bool operator!=(const type_info& rhs) const;
16 bool before(const type_info& rhs) const;
17 unsigned long hash_code() const;
18 const char* name() const;
20 type_info(const type_info& rhs);
21 type_info& operator=(const type_info& rhs);
24 class bad_cast
26 public:
27 bad_cast();
28 bad_cast(const bad_cast&);
29 bad_cast& operator=(const bad_cast&);
30 virtual const char* what() const;
33 class bad_typeid
35 public:
36 bad_typeid();
37 bad_typeid(const bad_typeid&);
38 bad_typeid& operator=(const bad_typeid&);
39 virtual const char* what() const;
42 } // std
44 #endif