Commit 8d8e5fc
authored
Remove IWYU False Positives From Other Namespaces (#273)
This PR removes the false positives from `_HEADERS_CONTAINING_TEMPLATES`
that come from non `std` namespaces. Users of boost or other namespaces
will no longer get false positives.
```c++
// Warn
set<int> blah1;
std::set<int> blah2;
::std::set<int> blah2;
set<int> blah1;
std::set<int> blah2;
::std::set<int> blah2;
// NO WARN
foo.set<int>();
foo->set<int>();
boost::container::set<int> blah3;
blah::std::set<int> blah3;
my_std::set<int> blah3;
my_set<int> blah4;
coolset<int> blah5;
std::blah<int> blah6;
::set<int> blah7;
```1 parent 22c0fe2 commit 8d8e5fc
2 files changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6019 | 6019 | | |
6020 | 6020 | | |
6021 | 6021 | | |
6022 | | - | |
| 6022 | + | |
6023 | 6023 | | |
6024 | 6024 | | |
6025 | 6025 | | |
| |||
6072 | 6072 | | |
6073 | 6073 | | |
6074 | 6074 | | |
6075 | | - | |
6076 | | - | |
6077 | | - | |
6078 | | - | |
6079 | | - | |
6080 | | - | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
6081 | 6078 | | |
6082 | 6079 | | |
6083 | 6080 | | |
| |||
6088 | 6085 | | |
6089 | 6086 | | |
6090 | 6087 | | |
6091 | | - | |
| 6088 | + | |
6092 | 6089 | | |
6093 | 6090 | | |
6094 | 6091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1252 | 1258 | | |
1253 | 1259 | | |
1254 | 1260 | | |
| |||
0 commit comments