-
Notifications
You must be signed in to change notification settings - Fork 27
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
Upgrade CppInterOp to support llvm 20 (non-wasm) #491
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #491 +/- ##
=======================================
Coverage 71.17% 71.17%
=======================================
Files 9 9
Lines 3552 3552
=======================================
Hits 2528 2528
Misses 1024 1024
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -174,13 +174,15 @@ void CopyIncludePaths(const clang::HeaderSearchOptions& Opts, | |||
if (!withSystem) continue; | |||
if (withFlags) incpaths.push_back("-isystem"); | |||
break; | |||
|
|||
//option doesn't appear to exist for llvm>19. Will revert if I determine otherwise. | |||
#if CLANG_VERSION_MAJOR < 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: no header providing "CLANG_VERSION_MAJOR" is directly included [misc-include-cleaner]
lib/Interpreter/Paths.cpp:20:
+ #include <clang/Basic/Version.h>
c8a5a4d
to
e435205
Compare
e435205
to
391be18
Compare
f04cc0f
to
699c6d7
Compare
I get these warnings while building latest llvm
Possibly should be fixed in our llvm build too ! |
Thanks. Will look into this. Need to see if this option is avilable on older versions of llvm, given the ci covers multiple versions. |
Description
Please include a summary of changes, motivation and context for this PR.
Given the llvm 20.x branch got released today I can begin the upgrade to CppInterOp to support llvm 20.
Fixes # (issue)
Type of change
Please tick all options which are relevant.
Testing
Please describe the test(s) that you added and ran to verify your changes.
Checklist