Commit 5d796bf
authored
Remove 'using namespace std' to fix __noop ambiguity with latest libc++ (#5406)
A recent change to libc++ added a 'struct __noop' to the 'std'
namespace. When building with clang-cl using libc++ on Windows, this now
introduces an ambiguity between this std::__noop struct, and the MSVC
__noop intrinsic, in translation units where 'using namespace std;' is
used. This commit replaces these with using clauses for the exact
symbols required in the non-test cpp files.1 parent 32379dd commit 5d796bf
3 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
0 commit comments