1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixes a couple of wrong offsets in PDOM.

This commit is contained in:
Markus Schorn 2006-11-08 14:33:16 +00:00
parent 1aafcab10c
commit abb2bcc28b
3 changed files with 5 additions and 5 deletions

View file

@ -29,8 +29,8 @@ import org.eclipse.core.runtime.CoreException;
public class PDOMPointerType extends PDOMNode implements IPointerType, public class PDOMPointerType extends PDOMNode implements IPointerType,
ITypeContainer { ITypeContainer {
private static final int FLAGS = PDOMNode.RECORD_SIZE + 1; private static final int FLAGS = PDOMNode.RECORD_SIZE + 0; // byte
private static final int TYPE = PDOMNode.RECORD_SIZE + 4; private static final int TYPE = PDOMNode.RECORD_SIZE + 1;
private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5; private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5;

View file

@ -30,8 +30,8 @@ import org.eclipse.core.runtime.CoreException;
public class PDOMQualifierType extends PDOMNode implements IQualifierType, public class PDOMQualifierType extends PDOMNode implements IQualifierType,
ITypeContainer { ITypeContainer {
private static final int FLAGS = PDOMNode.RECORD_SIZE + 1; private static final int FLAGS = PDOMNode.RECORD_SIZE;
private static final int TYPE = PDOMNode.RECORD_SIZE + 4; private static final int TYPE = PDOMNode.RECORD_SIZE + 1;
private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5; private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5;

View file

@ -41,7 +41,7 @@ class PDOMCPPVariable extends PDOMCPPBinding implements ICPPVariable {
* Offset of annotation information (relative to the beginning of the * Offset of annotation information (relative to the beginning of the
* record). * record).
*/ */
private static final int ANNOTATIONS = PDOMBinding.RECORD_SIZE + 1; private static final int ANNOTATIONS = PDOMBinding.RECORD_SIZE + 4; // byte
/** /**
* The size in bytes of a PDOMCPPVariable record in the database. * The size in bytes of a PDOMCPPVariable record in the database.