mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
CPP: Optimize.
This commit is contained in:
@@ -54,7 +54,7 @@ class Field extends MemberVariable {
|
||||
* which the field will be initialized, whether by an initializer list or in a
|
||||
* constructor.
|
||||
*/
|
||||
final int getInitializationOrder() {
|
||||
final pragma[nomagic] int getInitializationOrder() {
|
||||
exists(Class cls, int memberIndex |
|
||||
this = cls.getCanonicalMember(memberIndex) and
|
||||
memberIndex = rank[result + 1](int index |
|
||||
|
||||
Reference in New Issue
Block a user