| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | ftime-report-template-decl.cpp | 79 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 D | DeclSpec.cpp | 194 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 D | SemaTemplateVariadic.cpp | 931 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 D | cxx-template-decl.cpp | 159 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 D | DelayedTemplateParsing.cpp | 103 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 D | b.h | 6 template <typename Fun, typename = simple<Fun>> 7 void foo(Fun) {} in foo() argument
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | struct.h | 11 struct Fun; 13 struct Fun *fun; 15 struct Fun { struct
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Shutdown.h | 69 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 D | FuzzerExtFunctionsWindows.cpp | 60 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 D | PR23141_invoke_not_constexpr.pass.cpp | 24 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 D | main.cpp | 24 namespace Fun namespace 71 return Fun::fun(); // break 0 in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Errno.h | 31 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 D | spec-05-14.test | 3 "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 D | pr30216.ll | 30 ; CHECK-LABEL: define i8* @Fun 39 define i8* @Fun() {
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-infinite-recursion.cpp | 110 void Fun() { // expected-warning{{call itself}} in Fun() function in U 111 u->Fun(); in Fun()
|
| H A D | consteval-return-void.cpp | 3 consteval int Fun() { return; } // expected-error {{non-void consteval function 'Fun' should return… in Fun() function
|
| H A D | offsetof.cpp | 82 …void Fun() { (void)__builtin_offsetof(Derived, Field); } // expected-warning {{offset of on non-PO… in Fun() function
|
| H A D | alignof.cpp | 90 void Fun(T A) { in Fun() function
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | debuginstr-cgp.mir | 29 # 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 D | p2.cpp | 13 typedef auto Fun(int a) -> decltype(a + a); typedef
|
| H A D | p5.cpp | 20 typedef auto Fun(int a) -> decltype(a + a); typedef
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-noreturn.c | 44 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 D | echo.cpp | 410 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 D | EasilySwappableParametersCheck.cpp | 230 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 D | RangeSelectorTest.cpp | 734 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()
|