Skip to content
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

Include "clang" diagnostics from SourceKit-LSP #1062

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

award999
Copy link
Contributor

  • Include "clang" in the list of diagnostics sources
  • Fix regex to not include "[-Wcode]" that compiler outputs for C/C++ diagnostics
  • Clean up the "(fix available)" SourceKit includes in clang messages so that merging works proper
  • Add new tests to watch for clang diagnostics

Issue: #1028

@award999
Copy link
Contributor Author

@swift-server-bot test this please

@award999
Copy link
Contributor Author

@swift-server-bot test this please

@award999 award999 force-pushed the clang-diagnostics branch 2 times, most recently from 243f0fc to 42de497 Compare September 19, 2024 13:36
* Include "clang" in the list of diagnostics sources
* Fix regex to not include "[-<code>]" that compiler outputs for C/C++
  diagnostics
* Clean up the "(fix available)" SourceKit includes in clang messages
  so that merging works proper
* Add new tests to watch for clang diagnostics

Issue: swiftlang#1028
* Make sure we're getting diagnostics
* Realized was an issue where "instanceof" does not work when the
  extension under test is using source under "dist/" but the tests use
  source under "out" so if test instantiated an object, instanceof may
  not work in the extension code
@award999 award999 merged commit 6efb5ce into swiftlang:main Sep 23, 2024
8 checks passed
@award999
Copy link
Contributor Author

@AppAppWorks this will be in the next release, thanks for you contribution

@award999 award999 deleted the clang-diagnostics branch October 28, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants