mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Defer more instantiations, follow up for bug 256113.
This commit is contained in:
parent
7b7875106f
commit
eeea9a4a25
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public class CPPTemplates {
|
||||||
public static IBinding instantiate(ICPPTemplateDefinition template, ICPPTemplateArgument[] arguments) {
|
public static IBinding instantiate(ICPPTemplateDefinition template, ICPPTemplateArgument[] arguments) {
|
||||||
try {
|
try {
|
||||||
arguments= SemanticUtil.getSimplifiedArguments(arguments);
|
arguments= SemanticUtil.getSimplifiedArguments(arguments);
|
||||||
if (template instanceof ICPPTemplateTemplateParameter) {
|
if (template instanceof ICPPTemplateTemplateParameter || hasDependentArgument(arguments)) {
|
||||||
return deferredInstance(template, arguments);
|
return deferredInstance(template, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue