diff options
author | Brad King <brad.king@kitware.com> | 2014-03-06 20:07:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-24 15:37:20 (GMT) |
commit | 66e499376acbff61aece11ed8c0cef59c05aca3a (patch) | |
tree | 949a00a3ec501f15f0f4bab3822b86d6a47c3d2d /test/input | |
parent | 4c2326f24a266c2ee7b88b50c5655fb2edbd082c (diff) | |
download | CastXML-66e499376acbff61aece11ed8c0cef59c05aca3a.zip CastXML-66e499376acbff61aece11ed8c0cef59c05aca3a.tar.gz CastXML-66e499376acbff61aece11ed8c0cef59c05aca3a.tar.bz2 |
Output: Make FundamentalType names match gccxml
The gccxml FundamentalType names used different variants for integer
type names than Clang uses. Hard-code the names for these types.
Add a test case to cover these names.
Diffstat (limited to 'test/input')
-rw-r--r-- | test/input/FundamentalTypes.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/input/FundamentalTypes.cxx b/test/input/FundamentalTypes.cxx new file mode 100644 index 0000000..7ec7c53 --- /dev/null +++ b/test/input/FundamentalTypes.cxx @@ -0,0 +1,15 @@ +namespace start { + typedef char t_Char; + typedef signed char t_SChar; + typedef unsigned char t_UChar; + typedef short t_Short; + typedef unsigned short t_UShort; + typedef int t_Int; + typedef unsigned int t_UInt; + typedef long t_Long; + typedef unsigned long t_ULong; + typedef long long t_LongLong; + typedef unsigned long long t_ULongLong; + typedef float t_Float; + typedef double t_Double; +} |