~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/NameWriter.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2013-10-03 20:30:16 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131003203016-d4ug6l0xgosasumq
Tags: 8.2.1-1
* New upstream release.
* Updated autotools documentation sources.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                if (i <= 0){
99
99
                        return false;
100
100
                }
101
 
                if (qname.getNames()[i-1] instanceof ICPPASTTemplateId) {
 
101
                if (qname.getNames()[i - 1] instanceof ICPPASTTemplateId) {
102
102
                        return true;
103
103
                }
104
 
                IBinding binding = qname.getNames()[i-1].resolveBinding();
 
104
                IBinding binding = qname.getNames()[i - 1].resolveBinding();
105
105
                if (binding instanceof CPPTemplateTypeParameter) {
106
106
                        return true;
107
107
                }
108
 
                return isDependentName(qname, tempId, i-1);
 
108
                return isDependentName(qname, tempId, i - 1);
109
109
        }
110
110
 
111
111
        private boolean isNestedTemplateId(IASTNode node) {