1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Fixed a broken test.

This commit is contained in:
Sergey Prigogin 2014-05-09 16:34:59 -07:00
parent efa3aab3f2
commit 720771095c

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2010 Wind River Systems, Inc. and others.
* Copyright (c) 2006, 2014 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -8,6 +8,7 @@
* Contributors:
* Anton Leherbauer (Wind River Systems) - initial API and implementation
* Markus Schorn (Wind River Systems)
* Sergey Prigogin (Google)
*******************************************************************************/
package org.eclipse.cdt.internal.core.model;
@ -703,7 +704,8 @@ public class ASTStringUtil {
appendQualifiedNameString(buffer, segments[i]);
}
} else {
buffer.append(qualifiedName.getLastName());
IASTName lastName = qualifiedName.getLastName();
appendNameString(buffer, lastName, false);
}
} else if (name instanceof ICPPASTTemplateId) {
final ICPPASTTemplateId templateId= (ICPPASTTemplateId) name;