Skip to content

[5.5][SourceKit] Suppress oslog_invalid_log_message diagnostic in live issues #38834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

bnbarham
Copy link
Contributor

Cherry-picks #38778


The index build skips all function bodies, including inlinable. The
OSLogOptimization pass expects SIL for inlinable bodies and thus
outputs a spurious diagnostic for live issues when the
OSLogInterpolation extension is in a separate module to the log
statement.

Ignore this for now, but we may need to re-evaluate if this becomes a
more widespread problem.

Resolves rdar://79100763

The index build skips *all* function bodies, including inlinable. The
`OSLogOptimization` pass expects SIL for inlinable bodies and thus
outputs a spurious diagnostic for live issues when the
`OSLogInterpolation` extension is in a separate module to the log
statement.

Ignore this for now, but we may need to re-evaluate if this becomes a
more widespread problem.

Resolves rdar://79100763
@bnbarham bnbarham added the r5.5 label Aug 11, 2021
@bnbarham bnbarham requested a review from akyrtzi August 11, 2021 01:14
@bnbarham bnbarham requested a review from a team as a code owner August 11, 2021 01:14
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham merged commit 41a818a into release/5.5 Aug 11, 2021
@bnbarham bnbarham deleted the cherry-suppress-diag branch August 11, 2021 06:37
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants