CPP: Optimize.

This commit is contained in:
Geoffrey White
2019-06-11 11:00:23 +01:00
parent 6a95ca9743
commit bf680161fd

View File

@@ -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 |