We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a95ca9 commit bf68016Copy full SHA for bf68016
cpp/ql/src/semmle/code/cpp/Field.qll
@@ -54,7 +54,7 @@ class Field extends MemberVariable {
54
* which the field will be initialized, whether by an initializer list or in a
55
* constructor.
56
*/
57
- final int getInitializationOrder() {
+ final pragma[nomagic] int getInitializationOrder() {
58
exists(Class cls, int memberIndex |
59
this = cls.getCanonicalMember(memberIndex) and
60
memberIndex = rank[result + 1](int index |
0 commit comments