Home
last modified time | relevance | path

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

/llvm-project/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/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/clang/test/SemaObjCXX/
H A Darc-nsconsumed-errors.mm31 void templateFunction(T) { } // expected-note {{candidate template ignored: could not match 'void (… function
33 releaser_t r3 = templateFunction<id>; // expected-error {{address of overloaded function 'templateF…
45templateFunction(__attribute__((ns_consumed)) AntiRelease *); // expected-error {{no function temp… function
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dimplicit-bool-conversion.cpp164 void templateFunction() { in useOfTemplateFunction()
170 templateFunction<int>();
431 void templateFunction() {
437 templateFunction<int>(); in useOfUserConversion()
158 void templateFunction() { templateFunction() function
417 void templateFunction() { templateFunction() function
/llvm-project/clang/test/Index/
H A Dannotate-attribute.cpp23 int templateFunction(T value) __attribute__((annotate("works")));
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dmove-const-arg.cpp217 void templateFunction(T obj) { in templateFunction() function
241 templateFunction(no_move_semantics); in moveToConstReferenceNegatives()
267 templateFunction(no_move_semantics); in moveToConstReferenceNegativesAlias()
H A Dunnecessary-value-param.cpp375 void templateFunction(T) { templateFunction() function
379 void templateFunction<ExpensiveToCopyType>(ExpensiveToCopyType E) { templateFunction() function
/llvm-project/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()