-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cxx: scan the cork queue instead of the symtab to fill nth fields
Close #3634. If an enum has so many enumerators, the original code, counting enumerators for filling nth fields, takes a too long time. The new code looks up the last enumerator and calculates a new nth value by incrementing the last nth value. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
- Loading branch information
Showing
1 changed file
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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