mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bindings for method-definitions of class templates with non-type parameters, bug 231868.
This commit is contained in:
parent
cd61ff4ab7
commit
883aa17ba0
1 changed files with 7 additions and 3 deletions
|
@ -308,9 +308,13 @@ public class CPPSemantics {
|
|||
final ObjectMap argMap = deferred.getArgumentMap();
|
||||
if (argMap != null) {
|
||||
for (int i = 0; useOriginal && i < argMap.size(); i++) {
|
||||
if (!argMap.keyAt(i).equals(argMap.getAt(i))) {
|
||||
useOriginal= false;
|
||||
break;
|
||||
final Object key = argMap.keyAt(i);
|
||||
if (!key.equals(argMap.getAt(i))) {
|
||||
// bug 231868 non type parameters are modeled via their type :-(
|
||||
if (key instanceof ICPPTemplateNonTypeParameter == false) {
|
||||
useOriginal= false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue