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

Add support for fixed compilation database (compile_flags.txt) #375

Merged
merged 4 commits into from
Mar 15, 2021

Conversation

hashemi
Copy link
Contributor

@hashemi hashemi commented Mar 13, 2021

This small change adds support for fixed compilation database (compile_flags.txt), ideal for simple codebases that do not use CMake with an auto-generated compile_commands.json file.

See clangd's compilation database documentation under Alternatives.

@benlangmuir

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swift-ci please test

Sources/SKCore/CompilationDatabase.swift Outdated Show resolved Hide resolved
@benlangmuir
Copy link
Contributor

This looks great, just a couple of minor comments. Thanks!

@hashemi
Copy link
Contributor Author

hashemi commented Mar 13, 2021

Thanks for the review Ben! Made the changes.

@benlangmuir
Copy link
Contributor

@swift-ci please test

@benlangmuir benlangmuir merged commit 78e69f7 into swiftlang:main Mar 15, 2021
@benlangmuir
Copy link
Contributor

Thanks!

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.

None yet

2 participants