Home
last modified time | relevance | path

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

/llvm-project/clang/test/SemaCXX/
H A Dcxx1z-copy-omission.cpp142 template<typename T> struct ConversionFunction { operator T(); }; struct
143 Noncopyable cf1 = ConversionFunction<Noncopyable>();
144 Noncopyable cf2 = ConversionFunction<Noncopyable&&>(); // expected-error {{deleted}}
145 Noncopyable cf3 = ConversionFunction<const volatile Noncopyable>();
146 const volatile Noncopyable cf4 = ConversionFunction<Noncopyable>();
147 Noncopyable cf5 = ConversionFunction<Derived>(); // expected-error {{deleted}}
H A Dcxx1z-noexcept-function-type.cpp151 namespace ConversionFunction { namespace
/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h53 ConversionFunction, enumerator
/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp271 Info.Kind = SymbolKind::ConversionFunction; in getSymbolInfo()
299 Info.Kind = SymbolKind::ConversionFunction; in getSymbolInfo()
534 case SymbolKind::ConversionFunction: return "conversion-func"; in getSymbolKindString()
/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp922 const CXXConversionDecl *ConversionFunction) { in getFragmentsForConversionFunction()
925 if (ConversionFunction->isExplicit()) in getFragmentsForConversionFunction()
933 .append(ConversionFunction->getConversionType().getAsString(), in getFragmentsForConversionFunction()
936 for (unsigned i = 0, end = ConversionFunction->getNumParams(); i != end;
940 Fragments.append(getFragmentsForParam(ConversionFunction->getParamDecl(i))); in getFragmentsForOverloadedOperator()
944 if (ConversionFunction->isConst()) in getFragmentsForOverloadedOperator()
908 getFragmentsForConversionFunction(const CXXConversionDecl * ConversionFunction) getFragmentsForConversionFunction() argument
/llvm-project/clang-tools-extra/clangd/
H A DQuality.cpp134 case index::SymbolKind::ConversionFunction: in categorize()
H A DCodeComplete.cpp131 case SK::ConversionFunction: in toCompletionItemKind()
H A DProtocol.cpp343 case index::SymbolKind::ConversionFunction: in indexSymbolKindToSymbolKind()
/llvm-project/clang-tools-extra/clangd/index/
H A DYAMLSerialization.cpp291 DEFINE_ENUM(ConversionFunction); in enumeration()
/llvm-project/clang/include/clang/Sema/
H A DOverload.h453 /// ConversionFunction - The function that will perform the in getFromType()
456 FunctionDecl* ConversionFunction; in getToType()
459 /// the same as \c ConversionFunction or it might be a using declaration in setFromType()
460 /// that refers to \c ConversionFunction. in setToType()
432 FunctionDecl* ConversionFunction; global() member
/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp652 if (ConversionFunction) in copyFrom()
653 OS << '\'' << *ConversionFunction << '\''; in copyFrom()
1679 = dyn_cast<CXXConstructorDecl>(ICS.UserDefined.ConversionFunction)) { in TryImplicitConversion()
3818 User.ConversionFunction = Constructor; in IsUserDefinedConversion()
4013 User.ConversionFunction = Constructor; in compareConversionFunctions()
4030 User.ConversionFunction = Conversion; in CompareImplicitConversionSequences()
4299 if (ICS1.UserDefined.ConversionFunction == in CompareStandardConversionSequences()
4300 ICS2.UserDefined.ConversionFunction) in CompareStandardConversionSequences()
4306 ICS1.UserDefined.ConversionFunction, in CompareStandardConversionSequences()
4307 ICS2.UserDefined.ConversionFunction); in CompareStandardConversionSequences()
[all...]
H A DSemaExprCXX.cpp4245 FunctionDecl *FD = ICS.UserDefined.ConversionFunction; in PerformImplicitConversion()
/llvm-project/clang/include/clang/AST/
H A DPropertiesBase.td590 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
/llvm-project/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp1271 case SymbolKind::ConversionFunction: return CXIdxEntity_CXXConversionFunction; in getEntityKindFromSymbolKind()
/llvm-project/clang-tools-extra/clangd/unittests/
H A DHoverTests.cpp448 HI.Kind = index::SymbolKind::ConversionFunction; in TEST()