diff options
author | erichkeane <ekeane@nvidia.com> | 2024-04-10 09:37:01 -0700 |
---|---|---|
committer | erichkeane <ekeane@nvidia.com> | 2024-04-10 09:37:01 -0700 |
commit | 3d468566eb395995ac54fcf90d3afb9b9f822eb3 (patch) | |
tree | 70dd80e033a762e746bcd35e23bc2365f274da4e | |
parent | 48c5c70fdd3bec2929e2e903e3bf4494a65f7a92 (diff) | |
download | llvm-3d468566eb395995ac54fcf90d3afb9b9f822eb3.zip llvm-3d468566eb395995ac54fcf90d3afb9b9f822eb3.tar.gz llvm-3d468566eb395995ac54fcf90d3afb9b9f822eb3.tar.bz2 |
[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.
-rw-r--r-- | clang/lib/Serialization/ASTReader.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp index 2e73a0a..0ca7f66 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<OpenACCClauseKind>(); - // 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: { |