Home
last modified time | relevance | path

Searched refs:Fun (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Frontend/
H A Dftime-report-template-decl.cpp79 static void Fun(U);
86 void L<k>::O<T>::Fun(U) {} in Fun() function in PR17637::L::O
88 void Instantiate() { L<0>::O<int>::Fun(0); } in Instantiate()
120 static oneT Fun(U);
126 oneT L<k>::O<T>::Fun(U) { return one; } in Fun() function in explicit_partial_specializations::L::O
131 oneT L<0>::O<char>::Fun(U) { return one; } in Fun() function in explicit_partial_specializations::L::O
134 sassert(sizeof(L<0>::O<int>::Fun(0)) == sizeof(one)); in Instantiate()
135 sassert(sizeof(L<0>::O<char>::Fun(0)) == sizeof(one)); in Instantiate()
/llvm-project-15.0.7/clang/lib/Sema/
H A DDeclSpec.cpp194 new (&I.Fun) FunctionTypeInfo; in getFunction()
201 I.Fun.DeleteParams = false; in getFunction()
203 I.Fun.Params = nullptr; in getFunction()
210 I.Fun.NumExceptionsOrDecls = 0; in getFunction()
211 I.Fun.Exceptions = nullptr; in getFunction()
212 I.Fun.NoexceptExpr = nullptr; in getFunction()
217 I.Fun.MethodQualifiers = nullptr; in getFunction()
218 I.Fun.QualAttrFactory = nullptr; in getFunction()
244 I.Fun.DeleteParams = false; in getFunction()
248 I.Fun.DeleteParams = true; in getFunction()
[all …]
H A DSemaTemplateVariadic.cpp931 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
932 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks()
938 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
939 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks()
940 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
945 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
946 Chunk.Fun.NoexceptExpr->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
949 if (Chunk.Fun.hasTrailingReturnType()) { in containsUnexpandedParameterPacks()
950 QualType T = Chunk.Fun.getTrailingReturnType().get(); in containsUnexpandedParameterPacks()
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-template-decl.cpp159 static void Fun(U);
166 void L<k>::O<T>::Fun(U) {}
168 void Instantiate() { L<0>::O<int>::Fun(0); }
200 static oneT Fun(U);
207 oneT L<k>::O<T>::Fun(U) { return one; }
212 oneT L<0>::O<char>::Fun(U) { return one; }
216 sassert(sizeof(L<0>::O<int>::Fun(0)) == sizeof(one));
217 sassert(sizeof(L<0>::O<char>::Fun(0)) == sizeof(one));
H A DDelayedTemplateParsing.cpp103 constexpr T Fun(T A) { return T(0); } in Fun() function
105 constexpr int Var = Fun(20);
/llvm-project-15.0.7/clang/test/Modules/Inputs/set-pure-crash/
H A Db.h6 template <typename Fun, typename = simple<Fun>>
7 void foo(Fun) {} in foo() argument
/llvm-project-15.0.7/clang/test/PCH/
H A Dstruct.h11 struct Fun;
13 struct Fun *fun;
15 struct Fun { struct
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DShutdown.h69 template <typename Fun, typename Ret = decltype(std::declval<Fun>()())>
72 const Fun &F) { in retryAfterSignalUnlessShutdown()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerExtFunctionsWindows.cpp60 static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
61 if (Fun == FunDef) { in GetFnPtr()
66 return Fun; in GetFnPtr()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A DPR23141_invoke_not_constexpr.pass.cpp24 struct Fun struct
35 std::bind(Fun{}, std::placeholders::_1, 42)("hello"); in main() argument
/llvm-project-15.0.7/lldb/test/API/lang/cpp/nsimport/
H A Dmain.cpp24 namespace Fun namespace
71 return Fun::fun(); // break 0 in main()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DErrno.h31 template <typename FailT, typename Fun, typename... Args>
32 inline decltype(auto) RetryAfterSignal(const FailT &Fail, const Fun &F, in decltype()
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-05-14.test3 "Fun with \\
9 # CHECK: !!str "Fun with \\\n\" \a \b \e \f \n \r \t \v \0 \_ \N \L \P A A A"
/llvm-project-15.0.7/llvm/test/Transforms/GVNHoist/
H A Dpr30216.ll30 ; CHECK-LABEL: define i8* @Fun
39 define i8* @Fun() {
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-infinite-recursion.cpp110 void Fun() { // expected-warning{{call itself}} in Fun() function in U
111 u->Fun(); in Fun()
H A Dconsteval-return-void.cpp3 consteval int Fun() { return; } // expected-error {{non-void consteval function 'Fun' should return… in Fun() function
H A Doffsetof.cpp82 …void Fun() { (void)__builtin_offsetof(Derived, Field); } // expected-warning {{offset of on non-PO… in Fun() function
H A Dalignof.cpp90 void Fun(T A) { in Fun() function
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Ddebuginstr-cgp.mir29 # define %0* @Fun(%2* %arg) !dbg !7 {
105 define %0* @Fun(%2* %arg) #0 !dbg !7 {
168 name: Fun
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp2.cpp13 typedef auto Fun(int a) -> decltype(a + a); typedef
H A Dp5.cpp20 typedef auto Fun(int a) -> decltype(a + a); typedef
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-noreturn.c44 typedef void (*Fun)(void) __attribute__ ((noreturn(2))); // expected-error {{'noreturn' attribute t… typedef
/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Decho.cpp410 LLVMValueRef Fun; member
416 FunCloner(LLVMValueRef Src, LLVMValueRef Dst): Fun(Dst), in FunCloner()
417 M(LLVMGetGlobalParent(Fun)), VMap(clone_params(Src, Dst)) {} in FunCloner()
885 LLVMBasicBlockRef BB = LLVMAppendBasicBlock(Fun, Name); in DeclareBB()
1217 LLVMValueRef Fun = LLVMGetNamedFunction(M, Name); in clone_symbols() local
1218 if (!Fun) in clone_symbols()
1228 LLVMSetPersonalityFn(Fun, P); in clone_symbols()
1236 LLVMGlobalSetMetadata(Fun, Kind, MD); in clone_symbols()
1240 FunCloner FC(Cur, Fun); in clone_symbols()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp230 const CXXConstructorDecl *Fun; member
236 const CXXConversionDecl *Fun; member
357 return UDConvCtor.Fun; in getUserDefinedConversionFunction()
359 return UDConvOp.Fun; in getUserDefinedConversionFunction()
373 return UDConvCtor.Fun->getParamDecl(0)->getSourceRange(); in getUserDefinedConversionHighlight()
377 if (const FunctionTypeLoc FTL = UDConvOp.Fun->getFunctionTypeLoc()) in getUserDefinedConversionHighlight()
1232 ConvOp.Fun = cast<CXXConversionDecl>(SelectedConversion->ConversionFun); in tryConversionOperators()
1234 ConvOp.ConversionOperatorResultType = ConvOp.Fun->getConversionType(); in tryConversionOperators()
1279 Ctor.Fun = cast<CXXConstructorDecl>(SelectedConversion->ConversionFun); in tryConvertingConstructors()
1280 Ctor.ConstructorParameterType = Ctor.Fun->getParamDecl(0)->getType(); in tryConvertingConstructors()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRangeSelectorTest.cpp734 const char *Fun = "Fun"; in TEST() local
735 TestMatch Match = matchCode(Code, functionDecl(hasName("bad")).bind(Fun)); in TEST()
736 EXPECT_THAT_EXPECTED(select(expansion(node(Fun)), Match), in TEST()

12