Skip to content

Commit 5cdf0b5

Browse files
authored
Merge pull request #8507 from geoffw0/sde-perf
C++: Make getUnderlyingType nomagic
2 parents 6bd9d82 + 5d5904d commit 5cdf0b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/lib/semmle/code/cpp/Type.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class Type extends Locatable, @type {
9494
* The result of this predicate will be the type itself, except in the case of a TypedefType or a Decltype,
9595
* in which case the result will be type which results from (possibly recursively) resolving typedefs.
9696
*/
97+
pragma[nomagic]
9798
Type getUnderlyingType() { result = this }
9899

99100
/**

0 commit comments

Comments
 (0)