summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/typeinfo
blob: 7af23cf12f0d9f627c9927474457e7af15161926 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace std {
  class type_info {
  public:
    virtual ~type_info();
    const char* name() const { return __name; }
    bool operator==(const type_info& __arg) const {
     return __name == __arg.__name;
    }

    bool operator!=(const type_info& __arg) const {
      return !operator==(__arg);
    }
  protected:
    const char *__name;
  };
}