C++: Dont allow magic in getUnspecifiedType.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-04-29 10:09:46 +02:00
parent d288b9216e
commit 39c7816ede

View File

@@ -101,6 +101,7 @@ class Type extends Locatable, @type {
*
* For example, starting with `const i64* const` in the context of `typedef long long i64;`, this predicate will return `long long*`.
*/
pragma[nomagic]
Type getUnspecifiedType() { unspecifiedtype(underlyingElement(this), unresolveElement(result)) }
/**