In a previous patch, I added a new generic error diagnostic for inconsistent attributes.
In this patch I reuse this diagnostic for ns_returns_retained attribute check.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaDecl.cpp | ||
---|---|---|
2955 ↗ | (On Diff #97271) | You should manually quote the ns_returns_retained string literal with single quotes. The old diagnostic didn't do this, but that was inconsistent with the way we usually try to handle diagnostics. |