SageInterface::isPointerToNonConstType
Is this a pointer to a non‐const type? Note that this function will return true for const pointers pointing to non‐const types. For example, (int* const y) points to a modifiable int, so this function returns true. Meanwhile, it returns false for (int const * x) and (int const * const x) because these types point to a const int. Also, only the outer layer of nested pointers is unwrapped. So the function returns true for (const int ** y), but returns false for const (int * const * x)
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
bool
isPointerToNonConstType(SgType* type);
Parameters
Name |
Description |
type |
This class represents the base class for all types. |
Created with MrDocs