Skip to content

Commit 3d46856

Browse files
committed
[NFC] Remove unneeded 'maybe_unused' attributes
This was added while we only had a partial implementation of clauses, so we don't need these anymore.
1 parent 48c5c70 commit 3d46856

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11754,11 +11754,8 @@ void ASTRecordReader::readOMPChildren(OMPChildren *Data) {
1175411754

1175511755
OpenACCClause *ASTRecordReader::readOpenACCClause() {
1175611756
OpenACCClauseKind ClauseKind = readEnum<OpenACCClauseKind>();
11757-
// TODO OpenACC: We don't have these used anywhere, but eventually we should
11758-
// be constructing the Clauses with them, so these attributes can go away at
11759-
// that point.
11760-
[[maybe_unused]] SourceLocation BeginLoc = readSourceLocation();
11761-
[[maybe_unused]] SourceLocation EndLoc = readSourceLocation();
11757+
SourceLocation BeginLoc = readSourceLocation();
11758+
SourceLocation EndLoc = readSourceLocation();
1176211759

1176311760
switch (ClauseKind) {
1176411761
case OpenACCClauseKind::Default: {

0 commit comments

Comments
 (0)