diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMPointerType.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMPointerType.java index 259ffbd48d2..8f2ec982163 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMPointerType.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMPointerType.java @@ -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; diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMQualifierType.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMQualifierType.java index f203025accd..8fb94fff4cd 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMQualifierType.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMQualifierType.java @@ -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; diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPVariable.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPVariable.java index 7761707a328..35ff906be71 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPVariable.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPVariable.java @@ -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.