mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 510706 - Follow-up to ensure a UniqueType's contribution to a signature is unique
Change-Id: Iceaf946c073455f10ffd8d95013442da91309be3
This commit is contained in:
parent
52299c9124
commit
e832c49faf
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ class SignatureBuilder implements ITypeMarshalBuffer {
|
|||
// a need to write it to the index, but it can appear in a signature
|
||||
// during partial ordering of function templates.
|
||||
appendSeparator();
|
||||
fBuffer.append("<UniqueType>"); //$NON-NLS-1$
|
||||
fBuffer.append("Unique(@"); //$NON-NLS-1$
|
||||
fBuffer.append(Integer.toHexString(System.identityHashCode(type)));
|
||||
fBuffer.append(')');
|
||||
} else {
|
||||
assert false : "Cannot serialize " + ASTTypeUtil.getType(type) + " (" + type.getClass().getName() + ")"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||
putShort(UNSTORABLE_TYPE);
|
||||
|
|
Loading…
Add table
Reference in a new issue