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:
parent
1aafcab10c
commit
abb2bcc28b
3 changed files with 5 additions and 5 deletions
|
@ -29,8 +29,8 @@ import org.eclipse.core.runtime.CoreException;
|
|||
public class PDOMPointerType extends PDOMNode implements IPointerType,
|
||||
ITypeContainer {
|
||||
|
||||
private static final int FLAGS = PDOMNode.RECORD_SIZE + 1;
|
||||
private static final int TYPE = PDOMNode.RECORD_SIZE + 4;
|
||||
private static final int FLAGS = PDOMNode.RECORD_SIZE + 0; // byte
|
||||
private static final int TYPE = PDOMNode.RECORD_SIZE + 1;
|
||||
|
||||
private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5;
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ import org.eclipse.core.runtime.CoreException;
|
|||
public class PDOMQualifierType extends PDOMNode implements IQualifierType,
|
||||
ITypeContainer {
|
||||
|
||||
private static final int FLAGS = PDOMNode.RECORD_SIZE + 1;
|
||||
private static final int TYPE = PDOMNode.RECORD_SIZE + 4;
|
||||
private static final int FLAGS = PDOMNode.RECORD_SIZE;
|
||||
private static final int TYPE = PDOMNode.RECORD_SIZE + 1;
|
||||
|
||||
private static final int RECORD_SIZE = PDOMNode.RECORD_SIZE + 5;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class PDOMCPPVariable extends PDOMCPPBinding implements ICPPVariable {
|
|||
* Offset of annotation information (relative to the beginning of the
|
||||
* 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.
|
||||
|
|
Loading…
Add table
Reference in a new issue