Add some more commonly used types to SemanticTestBase.CommonCPPTypes
Change-Id: Ifec1e26f9e5a31651229e50002dfcb2d67b1379d
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/SemanticTestBase.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/SemanticTestBase.java
index 27ad1d7..fccc174 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/SemanticTestBase.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/SemanticTestBase.java
@@ -66,10 +66,13 @@
}
protected static class CommonCPPTypes {
+ public static IType char_ = CPPBasicType.CHAR;
public static IType int_ = CPPBasicType.INT;
public static IType void_ = CPPBasicType.VOID;
+ public static IType constChar = constOf(char_);
public static IType constInt = constOf(int_);
public static IType pointerToInt = pointerTo(int_);
+ public static IType pointerToConstChar = pointerTo(constChar);
public static IType pointerToConstInt = pointerTo(constInt);
public static IType referenceToInt = referenceTo(int_);
public static IType referenceToConstInt = referenceTo(constInt);