-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[clang] Refactor option-related code from clangDriver into new clangOptions library #163659
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
Changes from all commits
06d9e2f
5a5159a
b32a6d3
70fdd72
2102aa9
3a06c4a
3a0620e
d84b87c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,11 +15,11 @@ | |||||||||||||||
| #include "clang/Driver/Action.h" | ||||||||||||||||
| #include "clang/Driver/DriverDiagnostic.h" | ||||||||||||||||
| #include "clang/Driver/InputInfo.h" | ||||||||||||||||
| #include "clang/Driver/Options.h" | ||||||||||||||||
| #include "clang/Driver/Phases.h" | ||||||||||||||||
| #include "clang/Driver/ToolChain.h" | ||||||||||||||||
| #include "clang/Driver/Types.h" | ||||||||||||||||
| #include "clang/Driver/Util.h" | ||||||||||||||||
| #include "clang/Options/Options.h" | ||||||||||||||||
| #include "llvm/ADT/ArrayRef.h" | ||||||||||||||||
|
Comment on lines
-18
to
23
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Hmm this is odd. Looking at the git diff here, it should have been removed. llvm-project/clang/include/clang/Driver/Driver.h Lines 19 to 25 in 9a783b6
The pre-commit CI and my local builds (with @npanchen can you point me to where you are seeing the failure?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Pardon, my machine is quite busy with the other work now, but the snapshot of the error I got is:
If I look at main state after the PR has been merged (which removed
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
external/+llvm_configure+llvm-project/clang/include/clang/Driver/Driver.h:22:10: fatal error: 'clang/Options/Options.h' file not found
22 | #include "clang/Options/Options.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~ I think this is a local issue with your checkout or build state. The file I've created a reland for this here: #167374. |
||||||||||||||||
| #include "llvm/ADT/STLFunctionalExtras.h" | ||||||||||||||||
| #include "llvm/ADT/StringMap.h" | ||||||||||||||||
|
|
||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.