diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-11-30 19:14:50 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-11-30 19:14:50 +0000 |
| commit | a082a49d9e71a61a6ba02809ee00625efed62821 (patch) | |
| tree | c602557b6790e322b8b9a07576006c53b46c0e37 /clang/test/ASTMerge/Inputs | |
| parent | 78b4efb472ef0da5903ae06d00b9ab7afc57dfcb (diff) | |
| download | bcm5719-llvm-a082a49d9e71a61a6ba02809ee00625efed62821.tar.gz bcm5719-llvm-a082a49d9e71a61a6ba02809ee00625efed62821.zip | |
Implement basic AST importing and merging support for class template
declarations.
llvm-svn: 120448
Diffstat (limited to 'clang/test/ASTMerge/Inputs')
| -rw-r--r-- | clang/test/ASTMerge/Inputs/class-template1.cpp | 21 | ||||
| -rw-r--r-- | clang/test/ASTMerge/Inputs/class-template2.cpp | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/class-template1.cpp b/clang/test/ASTMerge/Inputs/class-template1.cpp new file mode 100644 index 00000000000..0f403091603 --- /dev/null +++ b/clang/test/ASTMerge/Inputs/class-template1.cpp @@ -0,0 +1,21 @@ +template<typename T> +struct X0; + +template<int I> +struct X1; + +template<int I> +struct X2; + +template<int I> +struct X3; + +template<template<int I> class> +struct X4; + +template<template<long> class> +struct X5; + +template<typename> +struct X6; + diff --git a/clang/test/ASTMerge/Inputs/class-template2.cpp b/clang/test/ASTMerge/Inputs/class-template2.cpp new file mode 100644 index 00000000000..5eecf9e6c16 --- /dev/null +++ b/clang/test/ASTMerge/Inputs/class-template2.cpp @@ -0,0 +1,20 @@ +template<class T> +struct X0; + +template<int I> +struct X1; + +template<long I> +struct X2; + +template<typename> +struct X3; + +template<template<int I> class> +struct X4; + +template<template<int I> class> +struct X5; + +template<template<int I> class> +struct X6; |

