mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
C++: Make getUnderlyingType 'nomagic'.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user