Commit 4f279fe
committed
[clang-tidy] Use SmallPtrSet directly instead of SmallSet (NFC)
I'm trying to remove the redirection in SmallSet.h:
template <typename PointeeType, unsigned N>
class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N>
{};
to make it clear that we are using SmallPtrSet. There are only
handful places that rely on this redirection.
This patch replaces SmallSet to SmallPtrSet where the element type is
a pointer.1 parent e0acf65 commit 4f279fe
File tree
1 file changed
+5
-1
lines changed- clang-tools-extra/clang-tidy/bugprone
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1578 | 1582 | | |
1579 | 1583 | | |
1580 | 1584 | | |
| |||
1699 | 1703 | | |
1700 | 1704 | | |
1701 | 1705 | | |
1702 | | - | |
| 1706 | + | |
1703 | 1707 | | |
1704 | 1708 | | |
1705 | 1709 | | |
| |||
0 commit comments