mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Removed array-to-pointer conversion from qualificationConversion.
This commit is contained in:
parent
073325c341
commit
9220a1152e
1 changed files with 2 additions and 7 deletions
|
@ -590,13 +590,8 @@ public class Conversions {
|
||||||
canConvert = false;
|
canConvert = false;
|
||||||
break;
|
break;
|
||||||
} else if (!sourceIsPointer) {
|
} else if (!sourceIsPointer) {
|
||||||
if (s instanceof IArrayType) {
|
|
||||||
// 4.2 Array-To-Pointer conversion
|
|
||||||
s = new CPPPointerType(((IArrayType) s).getType());
|
|
||||||
} else {
|
|
||||||
canConvert = false;
|
canConvert = false;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
} else if (s instanceof ICPPPointerToMemberType ^ t instanceof ICPPPointerToMemberType) {
|
} else if (s instanceof ICPPPointerToMemberType ^ t instanceof ICPPPointerToMemberType) {
|
||||||
canConvert = false;
|
canConvert = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue