Skip to content

Commit 5c562c9

Browse files
committed
[Clang] Recover missing changes from 9c760ca
1 parent 0ba27fe commit 5c562c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clang/test/CodeGenCXX/typeinfo

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ namespace std {
1010
bool operator!=(const type_info& __arg) const {
1111
return !operator==(__arg);
1212
}
13+
14+
bool before(const type_info& __arg) const {
15+
return __name < __arg.__name;
16+
}
17+
18+
unsigned long hash_code() const {
19+
return reinterpret_cast<unsigned long long>(__name);
20+
}
1321
protected:
1422
const char *__name;
1523
};

0 commit comments

Comments
 (0)