See if two type's arrayness match
| 2899 | |
| 2900 | // See if two type's arrayness match |
| 2901 | bool sameArrayness(const TType& right) const |
| 2902 | { |
| 2903 | return ((arraySizes == nullptr && right.arraySizes == nullptr) || |
| 2904 | (arraySizes != nullptr && right.arraySizes != nullptr && |
| 2905 | (*arraySizes == *right.arraySizes || |
| 2906 | (arraySizes->isImplicitlySized() && right.arraySizes->isDefaultImplicitlySized()) || |
| 2907 | (right.arraySizes->isImplicitlySized() && arraySizes->isDefaultImplicitlySized())))); |
| 2908 | } |
| 2909 | |
| 2910 | // See if two type's arrayness match in everything except their outer dimension |
| 2911 | bool sameInnerArrayness(const TType& right) const |
no test coverage detected