Make NameScope move constructor noexcept (#5812)

This commit is contained in:
Jon Ross-Perkins
2025-07-17 18:29:49 +00:00
committed by GitHub
parent 3bf98e9bc2
commit a842162424
+1 -1
View File
@@ -138,7 +138,7 @@ class NameScope : public Printable<NameScope> {
};
// Disallow copy, allow move.
NameScope(NameScope&& other) = default;
NameScope(NameScope&& other) noexcept = default;
auto operator=(NameScope&& other) noexcept -> NameScope& = default;
explicit NameScope(InstId inst_id, NameId name_id,