Commit a04c0f5
authored
[IR] Modernize HasCachedHash (NFC) (#159902)
This patch modernizes HasCachedHash.
- "struct SFINAE" is replaced with identically defined SameType.
- The return types Yes and No are replaced with std::true_type and
std::false_type.
My previous attempt (#159510) to clean up HasCachedHash failed on
clang++-18, but this version works with clang++-18.1 parent cb78bf6 commit a04c0f5
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | 989 | | |
994 | | - | |
995 | | - | |
| 990 | + | |
| 991 | + | |
996 | 992 | | |
997 | | - | |
| 993 | + | |
998 | 994 | | |
999 | 995 | | |
1000 | 996 | | |
| |||
0 commit comments