Skip to content

[clang][NFC] Improve comments in C++ DR test suite #77670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions clang/test/CXX/drs/dr17xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ S s(q); // #dr1736-s
#endif
}

// dr1748 is in dr1748.cpp

namespace dr1753 { // dr1753: 11
typedef int T;
struct A { typedef int T; };
Expand Down Expand Up @@ -159,6 +161,8 @@ namespace dr1762 { // dr1762: 14
#endif
}

// dr1772 is in dr177x.cpp

namespace dr1778 { // dr1778: 9
// Superseded by P1286R2.
#if __cplusplus >= 201103L
Expand All @@ -174,6 +178,8 @@ namespace dr1778 { // dr1778: 9
#endif
}

// dr1779 is in dr177x.cpp

namespace dr1794 { // dr1794: yes
// NB: dup 1710
#if __cplusplus >= 201103L
Expand Down
4 changes: 2 additions & 2 deletions clang/test/CXX/drs/dr1xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ namespace dr116 { // dr116: yes
}

// dr117: na
// dr118 is in its own file.
// dr118 is in dr118.cpp
// dr119: na
// dr120: na

Expand Down Expand Up @@ -789,7 +789,7 @@ namespace dr155 { // dr155: dup 632
// expected-warning@-1 {{braces around scalar initializer}}
}

// dr158 is in its own file.
// dr158 is in dr158.cpp

namespace dr159 { // dr159: 3.5
namespace X { void f(); }
Expand Down
2 changes: 2 additions & 0 deletions clang/test/CXX/drs/dr23xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ namespace dr2387 { // dr2387: 9
#endif
}

// dr2390 is in dr2390.cpp

namespace dr2394 { // dr2394: 15

struct A {};
Expand Down
2 changes: 1 addition & 1 deletion clang/test/CXX/drs/dr4xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ namespace dr410 { // dr410: no
// expected-note@#dr410-z {{declared private here}}
}

// dr412 is in its own file.
// dr412 is in dr412.cpp

namespace dr413 { // dr413: yes
struct S {
Expand Down