Home
last modified time | relevance | path

Searched refs:ConversionFunction (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx1z-copy-omission.cpp141 template<typename T> struct ConversionFunction { operator T(); }; struct
142 Noncopyable cf1 = ConversionFunction<Noncopyable>();
143 Noncopyable cf2 = ConversionFunction<Noncopyable&&>(); // expected-error {{deleted}}
144 Noncopyable cf3 = ConversionFunction<const volatile Noncopyable>();
145 const volatile Noncopyable cf4 = ConversionFunction<Noncopyable>();
146 Noncopyable cf5 = ConversionFunction<Derived>(); // expected-error {{deleted}}
H A Dcxx1z-noexcept-function-type.cpp134 namespace ConversionFunction { namespace
/llvm-project-15.0.7/clang/include/clang/Index/
H A DIndexSymbol.h53 ConversionFunction, enumerator
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp270 Info.Kind = SymbolKind::ConversionFunction; in getSymbolInfo()
298 Info.Kind = SymbolKind::ConversionFunction; in getSymbolInfo()
534 case SymbolKind::ConversionFunction: return "conversion-func"; in getSymbolKindString()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp134 case index::SymbolKind::ConversionFunction: in categorize()
H A DProtocol.cpp295 case index::SymbolKind::ConversionFunction: in indexSymbolKindToSymbolKind()
H A DCodeComplete.cpp108 case SK::ConversionFunction: in toCompletionItemKind()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DYAMLSerialization.cpp240 DEFINE_ENUM(ConversionFunction); in enumeration()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DOverload.h407 FunctionDecl* ConversionFunction; member
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp529 if (ConversionFunction) in dump()
530 OS << '\'' << *ConversionFunction << '\''; in dump()
3395 User.ConversionFunction = Constructor; in IsInitializerListConstructorConversion()
3591 User.ConversionFunction = Constructor; in IsUserDefinedConversion()
3608 User.ConversionFunction = Conversion; in IsUserDefinedConversion()
3877 if (ICS1.UserDefined.ConversionFunction == in CompareImplicitConversionSequences()
3878 ICS2.UserDefined.ConversionFunction) in CompareImplicitConversionSequences()
4707 ICS.UserDefined.ConversionFunction = Best->Function; in FindConversionForRefInit()
4974 ICS.UserDefined.ConversionFunction->getReturnType() in TryReferenceInit()
5204 Result.UserDefined.ConversionFunction = nullptr; in TryListConversion()
[all …]
H A DSemaExprCXX.cpp4113 FunctionDecl *FD = ICS.UserDefined.ConversionFunction; in PerformImplicitConversion()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp1300 case SymbolKind::ConversionFunction: return CXIdxEntity_CXXConversionFunction; in getEntityKindFromSymbolKind()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DPropertiesBase.td572 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DHoverTests.cpp407 HI.Kind = index::SymbolKind::ConversionFunction; in TEST()