Skip to content

[libClang][Dependency] Return an error message when -cc1 arguments are not provided #2539

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

Open
wants to merge 1 commit into
base: apple/main
Choose a base branch
from

Conversation

NSCoder
Copy link

@NSCoder NSCoder commented Feb 21, 2021

  • Return a message indicating that the arguments received cannot be used to find dependencies using clang_experimental_DependencyScannerWorker_getFileDependencies_v0

I'm working on generating the cc1 parameters automatically but for now I thought was a good idea to return a error message when they are not provided.

…are not provided

Return a message indicating that the arguments received cannot be used to find dependencies using `clang_experimental_DependencyScannerWorker_getFileDependencies_v0`
@NSCoder
Copy link
Author

NSCoder commented Feb 21, 2021

@swift-ci test

@hyp
Copy link

hyp commented Mar 2, 2021

@NSCoder This should go to llvm.org main branch.

@NSCoder
Copy link
Author

NSCoder commented Mar 6, 2021

@hyp Thank for your taking a look! I submitted the PR on this repository because clang/tools/libclang/CDependencies.cpp has not been merged to the upstream yet.

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.

2 participants