diff options
author | Brad King <brad.king@kitware.com> | 2014-04-11 17:24:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-11 17:28:04 (GMT) |
commit | c785d1821c39fb02fb394d65af4d6065a594391b (patch) | |
tree | fabfe6474a94eaa79a7596791f7bfafc02ab7b71 /test/input/Namespace-Class-partial-template-members.cxx | |
parent | aeb49468598774f683f1bc8bb50bd0e301a80fa3 (diff) | |
download | CastXML-c785d1821c39fb02fb394d65af4d6065a594391b.zip CastXML-c785d1821c39fb02fb394d65af4d6065a594391b.tar.gz CastXML-c785d1821c39fb02fb394d65af4d6065a594391b.tar.bz2 |
Output: Drop class template partial specializations from output
Since gccxml format does not support uninstantiated templates we must
not output any partial specializations either. Skip class template
partial specializations when traversing context members. Desugar
non-dependent typedef members of class template partial specializations.
Diffstat (limited to 'test/input/Namespace-Class-partial-template-members.cxx')
-rw-r--r-- | test/input/Namespace-Class-partial-template-members.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/input/Namespace-Class-partial-template-members.cxx b/test/input/Namespace-Class-partial-template-members.cxx new file mode 100644 index 0000000..0c220c9 --- /dev/null +++ b/test/input/Namespace-Class-partial-template-members.cxx @@ -0,0 +1,7 @@ +namespace start { + template <typename T> class A; + template <typename T> class A<T&> { + static int data; + }; + template <typename T> int A<T&>::data; +} |