1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Removed array-to-pointer conversion from qualificationConversion.

This commit is contained in:
Sergey Prigogin 2009-02-04 23:41:46 +00:00
parent 073325c341
commit 9220a1152e

View file

@ -590,13 +590,8 @@ public class Conversions {
canConvert = false;
break;
} else if (!sourceIsPointer) {
if (s instanceof IArrayType) {
// 4.2 Array-To-Pointer conversion
s = new CPPPointerType(((IArrayType) s).getType());
} else {
canConvert = false;
break;
}
canConvert = false;
break;
} else if (s instanceof ICPPPointerToMemberType ^ t instanceof ICPPPointerToMemberType) {
canConvert = false;
break;