-
Couldn't load subscription status.
- Fork 35
Update cling in ci to version 1.1 using roots llvm 16 #358
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
Closed
mcbarton
wants to merge
12
commits into
compiler-research:main
from
mcbarton:upgrade-cling-version-ci
Closed
Changes from 6 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e92dc4c
Update cling in ci to version 1.1 using root llvm 16
mcbarton bb10c03
Only build gtest_main for cling llvm=13 ci
mcbarton 05f2544
Disable CUDA tests for Cling
mcbarton 0d9e21d
Apply patch needed to fix error handling for cling version 1.1
mcbarton dbc5d38
Update cling16-1-Error-Handling.patch to add blank line
mcbarton 1055a9c
Update job names
mcbarton c1c9467
Merge branch 'main' into upgrade-cling-version-ci
mcbarton 1d49cfb
Update ci.yml to bring back cling 1.0 jobs
mcbarton 138bdf7
Update ci.yml fix names to add -cppyy to cling 1.0 jobs
mcbarton 8dab1ec
Revert changes to allow conflicts to be fixed
mcbarton d7950f7
Merge branch 'main' into upgrade-cling-version-ci
mcbarton 27b6a14
Bring back changes that fixing conflicts removed
mcbarton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| diff --git a/lib/Interpreter/IncrementalParser.cpp b/lib/Interpreter/IncrementalParser.cpp | ||
| index 89cd78d..2aea40d 100644 | ||
| --- a/lib/Interpreter/IncrementalParser.cpp | ||
| +++ b/lib/Interpreter/IncrementalParser.cpp | ||
| @@ -911,8 +911,11 @@ namespace cling { | ||
| PP.EnterSourceFile(FID, /*DirLookup*/nullptr, NewLoc); | ||
| m_Consumer->getTransaction()->setBufferFID(FID); | ||
|
|
||
| - if (!ParseOrWrapTopLevelDecl()) | ||
| + llvm::Expected<bool> res = ParseOrWrapTopLevelDecl(); | ||
| + if (!res) { | ||
| + llvm::consumeError(std::move(res.takeError())); | ||
| return kFailed; | ||
| + } | ||
|
|
||
| if (PP.getLangOpts().DelayedTemplateParsing) { | ||
| // Microsoft-specific: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.