Home
last modified time | relevance | path

Searched full:deduced (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp139 SmallVectorImpl<DeducedTemplateArgument> &Deduced, unsigned TDF,
148 SmallVectorImpl<DeducedTemplateArgument> &Deduced,
159 llvm::SmallBitVector &Deduced);
210 /// Verify that the given, deduced template arguments are compatible.
212 /// \returns The deduced template argument, or a NULL template argument if
213 /// the deduced template arguments were incompatible.
225 // If we have two non-type template argument values deduced for the same in checkDeducedTemplateArguments()
228 // for that now. The exception is that if either was deduced from an array in checkDeducedTemplateArguments()
241 llvm_unreachable("Non-deduced template arguments handled above"); in checkDeducedTemplateArguments()
251 // If one of the two arguments was deduced from an array bound, the other in checkDeducedTemplateArguments()
[all …]
H A DSemaTemplateDeductionGuide.cpp600 // typedefs, avoiding triggering instantiation of the deduced type during in transformFunctionTypeParam()
811 if (D.isNull()) { // non-deduced template parameters of f in buildAssociatedConstraints()
942 // arguments will be deduced. in buildIsDeducibleConstraint()
944 ReturnType), // type from which template arguments are deduced. in buildIsDeducibleConstraint()
1015 // of the return type of f are deduced from the defining-type-id of A in BuildDeductionGuideForTypeAlias()
1018 // deduced. in BuildDeductionGuideForTypeAlias()
1027 // The RHS of alias is f<int, U>, we deduced the template arguments of in BuildDeductionGuideForTypeAlias()
1049 if (const auto &D = DeduceResults[Index]; !D.isNull()) // Deduced in BuildDeductionGuideForTypeAlias()
1093 // ...followed by the template parameters of f that were not deduced in BuildDeductionGuideForTypeAlias()
1121 // 1) appeared template parameters of alias: transfrom the deduced in BuildDeductionGuideForTypeAlias()
[all …]
H A DSemaStmt.cpp3325 // If we got a non-deduced auto ReturnType, we are in a dependent context and in getCopyElisionCandidate()
3326 // there is no point in allowing copy elision since we won't have it deduced in getCopyElisionCandidate()
3649 assert(AT->isDeduced() && "should have deduced to dependent type"); in DeduceFunctionTypeFromReturnExpr()
3658 // For a function with a deduced result type to return with omitted in DeduceFunctionTypeFromReturnExpr()
3670 QualType Deduced = AT->getDeducedType(); in DeduceFunctionTypeFromReturnExpr() local
3684 OrigResultType, RetExpr, Deduced, Info, /*DependentDeduction=*/false, in DeduceFunctionTypeFromReturnExpr()
3695 // type has multiple return statements, the return type is deduced for in DeduceFunctionTypeFromReturnExpr()
3696 // each return statement. [...] if the type deduced is not the same in in DeduceFunctionTypeFromReturnExpr()
3722 !Deduced->isVoidType()) { in DeduceFunctionTypeFromReturnExpr()
3728 if (!FD->isInvalidDecl() && AT->getDeducedType() != Deduced) in DeduceFunctionTypeFromReturnExpr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplateDeduction.h44 /// The deduced template argument list.
95 /// Take ownership of the deduced template argument lists.
186 /// corresponding template argument was not deduced.
189 /// which we deduced too few arguments.
192 /// two different template argument values were deduced.
201 /// TDK_IncompletePack: this is the number of arguments we deduced
204 /// TDK_Inconsistent: this argument is the first value deduced
211 /// deduced arguments.
220 /// TDK_Inconsistent: this argument is the second value deduced
241 // deduced from the number of remaining function arguments if it is not
[all …]
H A DTemplate.h236 /// list from the AST, but then add the deduced innermost list.
325 /// Captures a template argument whose value has been deduced
329 /// deduced from an array bound.
340 /// has been deduced, possibly from an array bound.
349 /// template argument was deduced from an array bound.
353 /// was deduced from an array bound.
354 void setDeducedFromArrayBound(bool Deduced) { in setDeducedFromArrayBound() argument
355 DeducedFromArrayBound = Deduced; in setDeducedFromArrayBound()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h76 // Maps values associated with untyped pointers into deduced element types of
79 // Maps composite values to deduced types where untyped pointers are replaced
180 // Deduced element types of untyped pointers and composites:
181 // - Add a record to the map of deduced element types.
183 // - Find a record in the map of deduced element types.
188 // - Add a record to the map of deduced composite types.
192 // - Find a record in the map of deduced composite types.
199 // we may know element type if it was deduced earlier in getDeducedGlobalValueType()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallVectorExtras.h22 /// Map a range to a SmallVector with element types deduced from the mapping.
H A DSCCIterator.h232 /// Construct the begin iterator for a deduced graph type T.
237 /// Construct the end iterator for a deduced graph type T.
/freebsd/usr.bin/dtc/
H A DHACKING29 code, though `auto` should only be used in places where the type can be deduced
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dtrie-node.h50 /*Non-deduced pointer type for nullptr compatibility*/ in mergeTrieNodes()
/freebsd/crypto/heimdal/lib/krb5/
H A Dkrb5_auth_context.3265 host. If the local address is not set, it iss deduced from the underlaying
/freebsd/usr.bin/rs/
H A Drs.152 The shape of the input array is deduced from the number of lines
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dbrcm,stb-pcie.yaml93 this information cannot be deduced from the dma-ranges.
/freebsd/crypto/libecc/include/libecc/words/
H A Dwords.h42 /* The word size is usually deduced from the known platforms.
/freebsd/share/man/man4/
H A Dlp.4220 End of packet is deduced from the packet length and is not signalled
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTMutationListener.h81 /// A function's return type has been deduced.
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h549 /// Deduced return type updates that have been loaded but not yet propagated
551 /// declaration and the value is the deduced return type.
554 /// Functions has undededuced return type and we wish we can find the deduced
1111 /// The list of deduced function types that we have not yet read, because
1112 /// they might contain a deduced return type that refers to a local type
1117 /// The list of deduced variable types that we have not yet read, because
1118 /// they might contain a deduced type that refers to a local type declared
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dcrash_handler.h42 // `ErrorPtr` is unrelated to GWP-ASan, or if the error type cannot be deduced,
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DSearchableTable.td83 // cannot be deduced automatically, such as enum fields. For example:
/freebsd/lib/libxo/libxo/
H A Dxo_config.h228 automatically deduced at runtime.
/freebsd/usr.bin/lex/
H A Dconfig.h234 automatically deduced at runtime.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td2438 "variable %0 declared with deduced type %1 "
2478 "declaration of variable %0 with deduced type %1 requires an initializer">;
2504 "'auto' return without trailing return type; deduced return types are a "
2507 "deduced return types are a C++14 extension">;
2521 "deduced conflicting types %diff{($ vs $) |}0,1"
2525 "deduced as %1 in declaration of %2 and "
2526 "deduced as %3 in declaration of %4">;
2528 "%select{function with deduced return type|"
2555 // C++17 deduced class template specialization types
2559 "deduced class template specialization type">;
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp149 // because when the type as written is a deduced type, that type is not in computeDependence()
150 // dependent, but it may be deduced as a dependent type. in computeDependence()
531 // dependent type if they involve a placeholder type that can't be deduced.] in computeDependence()
H A DTypePrinter.cpp1279 // If the type has been deduced, do not print 'auto'. in printAutoBefore()
1304 // If the type has been deduced, do not print 'auto'. in printAutoAfter()
1311 // If the type has been deduced, print the deduced type. in printDeducedTemplateSpecializationBefore()
1323 // If the type has been deduced, print the deduced type. in printDeducedTemplateSpecializationAfter()
/freebsd/contrib/kyua/utils/cmdline/
H A Dui.cpp117 /// a terminal the width is deduced from the terminal itself. Ultimately, if

12345