C++: Make getUnderlyingType 'nomagic'.

This commit is contained in:
Geoffrey White
2022-03-21 10:52:10 +00:00
parent f53df255b9
commit 7f825c12eb

View File

@@ -94,7 +94,7 @@ class Type extends Locatable, @type {
* The result of this predicate will be the type itself, except in the case of a TypedefType or a Decltype,
* in which case the result will be type which results from (possibly recursively) resolving typedefs.
*/
Type getUnderlyingType() { result = this }
pragma[nomagic] Type getUnderlyingType() { result = this }
/**
* Gets this type after specifiers have been deeply stripped and typedefs have been resolved.