-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix Issue #6443: spurrious auto-parsing due to @ class, pair, __pair_base and enums #6445
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8d2567b
fix off by one error in pair auto-parsing skipping
pcanal 9ca6572
Also avoid auto-parsing for __pair_base during I/O init
pcanal 72c723b
Avoid auto-parsing if we can tell early that the name is an enumerator.
pcanal cd04b64
Avoid spurrious auto-loading/parsing due to artificial classes.
pcanal 2787835
[NFC] white space
pcanal c7930cf
Introduce TClassEdit::IsArtificial to wrap the '@' search.
pcanal fe77942
Do not (inadvertently) stip the @@ suffix for emulated class template…
pcanal d51fa31
Add TClassEdit::IsStdPair to factor out all the comparison
pcanal 19f417d
Use TClassEdit::IsStdPair
pcanal 94b5a72
In CheckClassInfo suspend autoparsing for std::pair
pcanal e311a8a
Migrate R__GenerateTClassForPair to TVirtualStreamerInfo::GenerateInf…
pcanal 84cb8a5
TClass::GetClass uses GenerateInfoForPair rather than auto-parsing
pcanal 2c274dc
Remove restriction (from circa 2005) that is no longer true.
pcanal 9b1058a
Do not generate TClass for pair of unknown type(s).
pcanal 2fb16c9
[NFC] extend documentation for some of std::pair handling code
pcanal 3936c2f
TCling::CheckClassInfo switch suspensions to use RAII object.
pcanal 0005d17
Avoid auto-parsing upon seeing __pair_base
pcanal 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
Next
Next commit
fix off by one error in pair auto-parsing skipping
- Loading branch information
commit 8d2567b742a015652da4e837242d14f47a9859a6
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
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.
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.
I'm still not a bit fan of
== 3and== 4without any comment. See also the change in tree/treeplayer/src/TTreeGeneratorBase.cxxThere 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.
In TTreeGeneratorBase.cxx, I left 3 or 4 because the likely wrong one was there with no (obvious negative consequence) and (I should add a comment) thus it might actually be the right one .... i.e. to remove it I would have to try to produce a test and the code is used little enough to not be a priority (to spend the time to write the test).
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.
A comment would be great! :-)
Uh oh!
There was an error while loading. Please reload this page.
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.
Well that's part of the documented contract of TClassEdit::TSplitType :)
But nevertheless I will add a comment.