Skip to content

Commit 820e2ea

Browse files
committed
[ConstraintSystem] NFC: Replace LLVM_NODISCARD with [[nodiscard]] on newly added method
1 parent 1a81d7f commit 820e2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4306,7 +4306,7 @@ class ConstraintSystem {
43064306
/// \param tap the tap expression
43074307
///
43084308
/// \returns \c true if constraint generation failed, \c false otherwise
4309-
LLVM_NODISCARD
4309+
[[nodiscard]]
43104310
bool generateConstraints(TapExpr *tap);
43114311

43124312
/// Generate constraints for the body of the given function or closure.

0 commit comments

Comments
 (0)