mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 19:55:45 +02:00
Add some more commonly used types to SemanticTestBase.CommonCPPTypes
Change-Id: Ifec1e26f9e5a31651229e50002dfcb2d67b1379d
This commit is contained in:
parent
9aa8aca96b
commit
f579acd381
1 changed files with 3 additions and 0 deletions
|
@ -66,10 +66,13 @@ public class SemanticTestBase extends BaseTestCase {
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue