Home
last modified time | relevance | path

Searched refs:PMF (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp46 template<int (X::*pmf)(int)> struct PMF { // expected-note 2 {{template parameter is declared here}} struct
47 PMF<pmf> *pmf2; argument
50 PMF<0> pmf0; // expected-error{{null non-type template argument must be cast to template parameter …
51 PMF<(0)> pmf1; // expected-error{{null non-type template argument must be cast to template paramete…
52 PMF<nullptr> pmf2;
53 PMF<get_nullptr()> pmf3;
54 PMF<(int (X::*)(int))0> pmf4;
55 PMF<np> pmf5;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dmisplaced-const.cpp59 typedef void (T::*PMF)(); typedef
62 const PMF val = &T::f; // ok in f()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-musttail.cpp245 typedef void (StructPMF::*PMF)(); typedef
250 StructPMF::PMF ReturnsPMF();
H A Dnullptr.cpp78 template <int *PI, void (*PF)(), int A::*PM, void (A::*PMF)()>
H A Dtype-traits.cpp2507 using PMF = int (C::*)(int); typedef
2515 static_assert(has_unique_object_representations<PMF>::value, "and pointer to members");
2516 static_assert(has_unique_object_representations<const PMF>::value, "and pointer to members");
2517 static_assert(has_unique_object_representations<volatile PMF>::value, "and pointer to members");
2518 static_assert(has_unique_object_representations<const volatile PMF>::value, "and pointer to members…
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1541 Function *PMF = Intrinsic::getDeclaration(M, Intrinsic::hexagon_M4_pmpyw); in generate() local
1564 P = B.CreateCall(PMF, {P, QVI}); in generate()
1570 Value *R = B.CreateCall(PMF, {P, Q}); in generate()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp2538 if (auto PMF = Primary->getPrivateModuleFragment()) { in EmitModuleInitializers() local
2539 for (Decl *D : getContext().getModuleInitializers(PMF)) { in EmitModuleInitializers()