Home
last modified time | relevance | path

Searched refs:templateFunction (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/test/InterfaceStubs/
H A Dfunction-template-specialization.cpp27 T templateFunction(T t) { return t; } in templateFunction() function
30 int FortyTwo = templateFunction<int>(42);
35 int templateFunction<int>(int t);
38 int foo() { return templateFunction(42); } in foo()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-bool-literals-ignore-macros.cpp81 void templateFunction(type) { in templateFunction() function
106 templateFunction(0); in main()
108 templateFunction(false); in main()
H A Duse-bool-literals.cpp85 void templateFunction(type) { in templateFunction() function
110 templateFunction(0); in main()
112 templateFunction(false); in main()
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-nsconsumed-errors.mm32 void templateFunction(T) { } // expected-note {{candidate template ignored: could not match 'void (… function
34 releaser_t r3 = templateFunction<id>; // expected-error {{address of overloaded function 'templateF…
44 …templateFunction(__attribute__((ns_consumed)) AntiRelease *); // expected-error {{no function temp… function
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dimplicit-bool-conversion.cpp158 void templateFunction() { in templateFunction() function
164 templateFunction<int>(); in useOfTemplateFunction()
417 void templateFunction() { in templateFunction() function
423 templateFunction<int>(); in useOfTemplateFunction()
/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-attribute.cpp23 int templateFunction(T value) __attribute__((annotate("works")));
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-value-param.cpp375 void templateFunction(T) { in templateFunction() function
379 void templateFunction<ExpensiveToCopyType>(ExpensiveToCopyType E) { in templateFunction() function
H A Dmove-const-arg.cpp163 void templateFunction(T obj) { in templateFunction() function
187 templateFunction(no_move_semantics); in moveToConstReferenceNegatives()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dupgrade-googletest-case.cpp1009 void templateFunction(const T& t) { in templateFunction() function
1015 templateFunction(Test); in instantiateTemplateFunction()