diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp index 2e73a0a7140104..0ca7f6600eee33 100644 --- a/clang/lib/Serialization/ASTReader.cpp +++ b/clang/lib/Serialization/ASTReader.cpp @@ -11754,11 +11754,8 @@ void ASTRecordReader::readOMPChildren(OMPChildren *Data) { OpenACCClause *ASTRecordReader::readOpenACCClause() { OpenACCClauseKind ClauseKind = readEnum(); - // TODO OpenACC: We don't have these used anywhere, but eventually we should - // be constructing the Clauses with them, so these attributes can go away at - // that point. - [[maybe_unused]] SourceLocation BeginLoc = readSourceLocation(); - [[maybe_unused]] SourceLocation EndLoc = readSourceLocation(); + SourceLocation BeginLoc = readSourceLocation(); + SourceLocation EndLoc = readSourceLocation(); switch (ClauseKind) { case OpenACCClauseKind::Default: {