| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | deduction-guide3.cppm | 5 // RUN: %clang_cc1 -std=c++20 %t/Templ.cppm -emit-module-interface -o %t/Templ.pcm 8 //--- Templ.cppm 9 export module Templ; 11 class Templ { 13 Templ(T a) {} 17 Templ(T t) -> Templ<T>; 20 import Templ; 22 …Templ t(5); // expected-error {{declaration of 'Templ' must be imported from module 'Templ' before… 23 // expected-error@-1 {{unknown type name 'Templ'}} 24 // expected-note@Templ.cppm:3 {{declaration here is not visible}}
|
| H A D | deduction-guide.cppm | 5 // RUN: %clang_cc1 -std=c++20 %t/Templ.cppm -emit-module-interface -o %t/Templ.pcm 10 class Templ { 12 Templ(T a) {} 16 Templ(T t) -> Templ<T>; 18 //--- Templ.cppm 21 export module Templ; 22 export using ::Templ; 26 import Templ; 28 Templ t(5);
|
| H A D | deduction-guide2.cppm | 5 // RUN: %clang_cc1 -std=c++20 %t/Templ.cppm -emit-module-interface -o %t/Templ.pcm 8 //--- Templ.cppm 9 export module Templ; 11 class Templ { 13 Templ(T a) {} 17 Templ(T t) -> Templ<T>; 21 import Templ; 23 Templ t(5);
|
| H A D | InheritDefaultArguments.cppm | 10 class Templ; 13 class Templ { 15 Templ(T t) {} 19 Templ(T t) -> Templ<T, int>; 33 Templ t(0);
|
| H A D | Reachability-template-instantiation.cpp | 20 export module Templ; 31 import Templ; variable
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | ctor-init-source-loc.cpp | 17 struct Templ; 20 struct Derived3: Templ<MyBase>::InnerIterator 22 Derived3() : Templ<MyBase>::InnerIterator() {} in Derived3() 81 template<typename Q> struct Templ; 92 struct Derived9: Namespace::Templ<MyBase>::InnerIterator 94 Derived9() : Namespace::Templ<MyBase>::InnerIterator() {} in Derived9() 101 struct Derived10: Namespace::Templ<MyBase> 103 Derived10() : Namespace::Templ<MyBase>() {} in Derived10()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | apple-kext-indirect-virtual-dtor-call.cpp | 22 struct Templ { struct 23 virtual ~Templ(); // Out-of-line so that the destructor doesn't cause a vtable 28 struct SubTempl : public Templ<T> { argument 42 t->Templ::~Templ(); in f()
|
| H A D | apple-kext-indirect-call.cpp | 19 struct Templ { struct 24 struct SubTempl : public Templ<T> { argument 37 t->Templ::f(); in f()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | move_convert.pass.cpp | 36 template <class Templ, class Other> 39 template <template <int> class Templ, int ID1, class Other> 40 struct is_specialization<Templ<ID1>, Other> : std::false_type {}; 42 template <template <int> class Templ, int ID1, int ID2> 43 struct is_specialization<Templ<ID1>, Templ<ID2> > : std::true_type {}; 45 template <class Templ, class Other> 47 is_specialization<Templ, typename std::decay<Other>::type >::value
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
| H A D | move_convert.pass.cpp | 48 template <class Templ, class Other> 51 template <template <int> class Templ, int ID1, class Other> 52 struct is_specialization<Templ<ID1>, Other> : std::false_type {}; 54 template <template <int> class Templ, int ID1, int ID2> 55 struct is_specialization<Templ<ID1>, Templ<ID2> > : std::true_type {}; 57 template <class Templ, class Other> 59 is_specialization<Templ, typename std::decay<Other>::type >::value
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | delete-null-pointer.cpp | 6 struct Templ { struct 34 Templ<int *> ti2; in instantiate() argument
|
| /llvm-project-15.0.7/clang/lib/Tooling/DumpTool/ |
| H A D | ASTSrcLocProcessor.cpp | 235 if (const auto *Templ = in run() local 239 const auto &TArgs = Templ->getTemplateArgs(); in run() 261 if (const auto *Templ = ASTClass->getDescribedClassTemplate()) { in run() local 262 if (auto *TParams = Templ->getTemplateParameters()) { in run()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | builtin-is-constant-evaluated.cpp | 33 struct Templ { static_assert(V); static_assert(Default); }; struct 34 Templ<__builtin_is_constant_evaluated()> x; // type X<true>
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 150 const auto *Templ = Func->getPrimaryTemplate(); in checkPreCall() local 151 if (!Templ) in checkPreCall() 154 const auto *TParams = Templ->getTemplateParameters(); in checkPreCall()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/module-transtive-instantiation/ |
| H A D | bar.cppm | 2 import Templ;
|
| H A D | Templ.cppm | 1 export module Templ;
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTTraverserTest.cpp | 259 auto Templ = Result[0].getNodeAs<ClassTemplateSpecializationDecl>("fn"); in TEST() local 261 TemplateArgument TA = Templ->getTemplateArgs()[0]; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindSymbols.cpp | 388 if (auto *Templ = llvm::dyn_cast<TemplateDecl>(D)) { in traverseDecl() local 390 if (auto *TD = Templ->getTemplatedDecl()) in traverseDecl()
|