Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxx/test/libcxx/utilities/meta/stress_tests/
H A Dstress_test_variant_overloads_impl.sh.cpp58 struct Overload { struct
71 using Apply = AllOverloads<Overload<Types, _Idx>...>;
83 template <class... Types> struct Overload;
86 struct Overload<> { void operator()() const; }; struct
89 struct Overload<Tp, Types...> : Overload<Types...> { struct
90 using Overload<Types...>::operator();
95 using Overloads = Overload<Types...>;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNewDeleteOverloadsCheck.cpp171 for (const auto *Overload : RP.second) { in onEndOfTranslationUnit() local
174 [&Overload](const FunctionDecl *FD) { in onEndOfTranslationUnit()
175 if (FD == Overload) in onEndOfTranslationUnit()
179 if (FD->getDeclContext() != Overload->getDeclContext()) in onEndOfTranslationUnit()
184 if (!areCorrespondingOverloads(Overload, FD)) in onEndOfTranslationUnit()
194 const auto *MD = dyn_cast<CXXMethodDecl>(Overload); in onEndOfTranslationUnit()
196 Diagnose.push_back(Overload); in onEndOfTranslationUnit()
/llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp10.cpp14 static void Overload(int);
15 void Overload();
16 virtual X0& Overload(float);
20 (void)[&Overload] () {}; // expected-error {{does not name a variable}} in explicit_capture()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dlambda-expressions.cpp10 static void Overload(int);
11 void Overload();
12 virtual C& Overload(float);
22 []{Overload(3);}; in ImplicitThisCapture()
23 …[] { Overload(); }; // expected-error {{'this' cannot be implicitly captured in this context}} exp… in ImplicitThisCapture()
24 []{(void)typeid(Overload());}; in ImplicitThisCapture()
25 …[] { (void)typeid(Overload(.5f)); }; // expected-error {{'this' cannot be implicitly captured in t… in ImplicitThisCapture()
H A Dtypo-correction-delayed.cpp129 AssertionResult Overload(const char *a);
130 AssertionResult Overload(int a);
135 Overload(resulta); in UseOverload()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp622 for (const auto &Overload : SLM.second.Signatures) { in EmitBuiltinTable() local
623 StringRef ExtName = Overload.first->getValueAsDef("Extension")->getName(); in EmitBuiltinTable()
625 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
627 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
629 OS << " { " << Overload.second << ", " in EmitBuiltinTable()
630 << Overload.first->getValueAsListOfDefs("Signature").size() << ", " in EmitBuiltinTable()
631 << (Overload.first->getValueAsBit("IsPure")) << ", " in EmitBuiltinTable()
632 << (Overload.first->getValueAsBit("IsConst")) << ", " in EmitBuiltinTable()
633 << (Overload.first->getValueAsBit("IsConv")) << ", " in EmitBuiltinTable()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dnew-delete-overloads.rst18 This check corresponds to CERT C++ Coding Standard rule `DCL54-CPP. Overload allocation and dealloc…
19 <https://www.securecoding.cert.org/confluence/display/cplusplus/DCL54-CPP.+Overload+allocation+and+…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dovl-check.m38 // Overload resolution should not emit a diagnostic about needing to add an
55 // Overload resolution should occur silently, select the CFTypeRef overload,
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
H A Dp5-cxx0x.cpp112 namespace Overload { namespace
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDXILEmitter.cpp261 static std::string getOverloadKind(StringRef Overload) { in getOverloadKind() argument
262 return StringSwitch<std::string>(Overload) in getOverloadKind()
/llvm-project-15.0.7/llvm/unittests/Support/DynamicLibrary/
H A DDynamicLibraryTest.cpp59 TEST(DynamicLibrary, Overload) { in TEST() argument
/llvm-project-15.0.7/clang/include/clang/AST/
H A DBuiltinTypes.def277 // Overload should be the first placeholder type, or else change
279 PLACEHOLDER_TYPE(Overload, OverloadTy)
H A DCommentCommands.td330 def Overload : DeclarationVerbatimLineCommand<"overload">;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticOptions.def71 Ovl_All) /// Overload candidates to show.
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-objc-message.m85 @interface Overload interface
94 void test_overload(Overload *ovl) {
138 void test_overload3(Overload *ovl) {
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp186 case BuiltinType::Overload: in TypeIdxFromBuiltin()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp165 if (!isPlaceholder() || isPlaceholder(BuiltinType::Overload)) in checkNonOverloadPlaceholders()
1138 if (ValueKind == VK_PRValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast()
1197 if (claimPlaceholder(BuiltinType::Overload)) { in CheckStaticCast()
1211 !isPlaceholder(BuiltinType::Overload)) { in CheckStaticCast()
2680 if (claimPlaceholder(BuiltinType::Overload)) { in CheckCXXCStyleCast()
2701 !isPlaceholder(BuiltinType::Overload)) { in CheckCXXCStyleCast()
H A DSemaConcept.cpp94 Type->isSpecificBuiltinType(BuiltinType::Overload))) || in CheckConstraintExpression()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DSourceCodeTest.cpp677 ASSERT_TRUE(CalleeType->isSpecificPlaceholderType(BuiltinType::Overload)); in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypeLoc.cpp393 case BuiltinType::Overload: in getWrittenTypeSpec()
H A DNSAPI.cpp485 case BuiltinType::Overload: in getNSNumberFactoryMethodKind()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp65 BTCASE(Overload); in GetBuiltinTypeKind()
588 TKIND(Overload); in clang_getTypeKindSpelling()
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx17Papers.csv39 "`P0030R1 <https://wg21.link/P0030R1>`__","LWG","Proposal to Introduce a 3-Argument Overload to std…
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinAttributes.td332 /// Overload of the raw 'get' method that asserts that the given type is of
339 /// Overload of the raw 'get' method that asserts that the given type is of
H A DAttrTypeBase.td322 // The default parameter printer is `$_printer << $_self`. Overload the stream

12