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:
parent
073325c341
commit
9220a1152e
1 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue