diff options
author | Thomas Lively <tlively@google.com> | 2024-11-15 16:58:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 21:58:48 +0000 |
commit | f6f898b6b6f85b5e2c4f5bc0c61b8465e72dc35e (patch) | |
tree | 910118d2c8ca71c5915932910c252e6e0dbfbbe6 /src/wasm/wasm-ir-builder.cpp | |
parent | 368c1edf2a6182dcde7a91e6facbf3dbdd6c7456 (diff) | |
download | binaryen-f6f898b6b6f85b5e2c4f5bc0c61b8465e72dc35e.tar.gz binaryen-f6f898b6b6f85b5e2c4f5bc0c61b8465e72dc35e.tar.bz2 binaryen-f6f898b6b6f85b5e2c4f5bc0c61b8465e72dc35e.zip |
[NFC] Remove redundant [[nodiscard]] attributes (#7084)
Now that Result and MaybeResult are annotated [[nodiscard]] at the type
level, individual functions and methods that return these types do not
need to be annotated [[nodiscard]] themselves. Remove the newly
redundant annotations.
Diffstat (limited to 'src/wasm/wasm-ir-builder.cpp')
-rw-r--r-- | src/wasm/wasm-ir-builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-ir-builder.cpp b/src/wasm/wasm-ir-builder.cpp index 398db68ff..0d46156be 100644 --- a/src/wasm/wasm-ir-builder.cpp +++ b/src/wasm/wasm-ir-builder.cpp @@ -366,7 +366,7 @@ struct IRBuilder::ChildPopper ChildPopper(IRBuilder& builder) : builder(builder) {} private: - [[nodiscard]] Result<> popConstrainedChildren(std::vector<Child>& children) { + Result<> popConstrainedChildren(std::vector<Child>& children) { auto& scope = builder.getScope(); // Two-part indices into the stack of available expressions and the vector |