OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Deduced
(Results
1 - 14
of
14
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
TemplateDeduction.h
43
/// The
deduced
template argument list.
44
TemplateArgumentList *
Deduced
= nullptr;
74
:
Deduced
(Info.
Deduced
), Loc(Info.Loc), DeducedDepth(Info.DeducedDepth),
94
/// Take ownership of the
deduced
template argument list.
96
TemplateArgumentList *Result =
Deduced
;
97
Deduced
= nullptr;
124
Deduced
= NewDeduced;
125
ExplicitArgs =
Deduced
->size();
131
Deduced
= NewDeduced
[
all
...]
Template.h
230
/// Captures a template argument whose value has been
deduced
234
///
deduced
from an array bound.
245
/// has been
deduced
, possibly from an array bound.
254
/// template argument was
deduced
from an array bound.
258
/// was
deduced
from an array bound.
259
void setDeducedFromArrayBound(bool
Deduced
) {
260
DeducedFromArrayBound =
Deduced
;
Sema.h
7699
/// instantiated with some
deduced
template arguments.
7702
/// The template argument was
deduced
via template argument
7706
/// The template argument was
deduced
from an array bound
8318
/// template argument deduction, e.g., the
deduced
template argument
8320
///
deduced
arguments that were involved in the failure.
8336
///
deduced
values for the given template parameter.
8340
/// otherwise be
deduced
, e.g., we tried to deduce T in "const T"
8343
/// Substitution of the
deduced
template argument values
8346
/// After substituting
deduced
template arguments, a dependent
8349
/// After substituting
deduced
template arguments, an element o
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateDeduction.cpp
140
SmallVectorImpl<DeducedTemplateArgument> &
Deduced
);
149
Deduced
,
159
SmallVectorImpl<DeducedTemplateArgument> &
Deduced
,
169
llvm::SmallBitVector &
Deduced
);
220
/// Verify that the given,
deduced
template arguments are compatible.
222
/// \returns The
deduced
template argument, or a NULL template argument if
223
/// the
deduced
template arguments were incompatible.
234
// If we have two non-type template argument values
deduced
for the same
237
// for that now. The exception is that if either was
deduced
from an array
250
llvm_unreachable("Non-
deduced
template arguments handled above")
[
all
...]
SemaStmt.cpp
3816
QualType
Deduced
;
3833
assert(AT->isDeduced() && "should have
deduced
to dependent type");
3840
DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr,
Deduced
);
3865
Deduced
= SubstAutoType(OrigResultType.getType(), Context.VoidTy);
3866
if (
Deduced
.isNull())
3872
if (FD->hasAttr<CUDAGlobalAttr>() && !
Deduced
->isVoidType()) {
3879
// has multiple return statements, the return type is
deduced
for each return
3880
// statement. [...] if the type
deduced
is not the same in each deduction,
3884
AutoType *NewAT =
Deduced
->getContainedAutoType();
3908
// Update all declarations of the function to have the
deduced
return type
[
all
...]
SemaType.cpp
3340
// Find the
deduced
type in this type. Look in the trailing return type if we
3343
DeducedType *
Deduced
= T->getContainedDeducedType();
3345
if (
Deduced
&& isa<AutoType>(
Deduced
) && D.hasTrailingReturnType()) {
3347
Deduced
= T.isNull() ? nullptr : T->getContainedDeducedType();
3352
if (
Deduced
) {
3353
AutoType *Auto = dyn_cast<AutoType>(
Deduced
);
3432
if (isa<DeducedTemplateSpecializationType>(
Deduced
) &&
3442
// Within a template argument list, a
deduced
template specialization
3444
if (isa<DeducedTemplateSpecializationType>(
Deduced
) &
[
all
...]
SemaExprCXX.cpp
1451
// If the type is a placeholder for a
deduced
class type, [...perform class
1453
DeducedType *
Deduced
= Ty->getContainedDeducedType();
1454
if (
Deduced
&& isa<DeducedTemplateSpecializationType>(
Deduced
)) {
1949
auto *
Deduced
= AllocType->getContainedDeducedType();
1950
if (
Deduced
&& isa<DeducedTemplateSpecializationType>(
Deduced
)) {
1964
} else if (
Deduced
) {
4196
assert(!FromRes.isInvalid() && "Can't perform
deduced
conversion?!");
8613
// [..] the expression is
deduced
against an invented function templat
[
all
...]
SemaDecl.cpp
3499
// use that placeholder, not a
deduced
type.
3508
// FIXME: This does the wrong thing for a
deduced
return type.
3528
// If this function has a
deduced
return type and has already been
3529
// defined, copy the
deduced
value from the old declaration.
6392
// Ensure that an auto decl is
deduced
otherwise the checks below might cache
11648
"init captures are expected to be
deduced
prior to initialization");
11652
DeducedType *
Deduced
= Type->getContainedDeducedType();
11653
assert(
Deduced
&& "deduceVarTypeFromInitializer for non-
deduced
type");
11661
if (!isa<DeducedTemplateSpecializationType>(
Deduced
) ||
[
all
...]
TreeTransform.h
340
/// for transformation to produce a class template type with
deduced
981
/// By default, builds a new AutoType with the given
deduced
type.
982
QualType RebuildAutoType(QualType
Deduced
, AutoTypeKeyword Keyword,
986
// which has been
deduced
to a dependent type into an undeduced 'auto', so
988
return SemaRef.Context.getAutoType(
Deduced
, Keyword,
995
///
deduced
type.
997
QualType
Deduced
) {
999
Template,
Deduced
, /*IsDependent*/ false);
4775
QualType
Deduced
= AutoTy->getDeducedType();
4776
Qualifiers Qs =
Deduced
.getQualifiers()
[
all
...]
SemaCodeComplete.cpp
3481
// Figure out which template parameters are
deduced
(or have default
3483
llvm::SmallBitVector
Deduced
;
3484
Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl,
Deduced
);
3486
for (LastDeducibleArgument =
Deduced
.size(); LastDeducibleArgument > 0;
3488
if (!
Deduced
[LastDeducibleArgument - 1]) {
3512
// Some of the function template arguments cannot be
deduced
from a
/src/external/apache2/llvm/dist/clang/tools/libclang/
CXType.cpp
911
if (const auto *
Deduced
= dyn_cast<DeducedType>(QT))
912
if (
Deduced
->getDeducedType().isNull())
951
if (const auto *
Deduced
= dyn_cast<DeducedType>(QT))
952
if (
Deduced
->getDeducedType().isNull())
/src/external/apache2/llvm/dist/clang/include/clang/AST/
Type.h
2182
///
deduced
.
2265
/// Get the DeducedType whose type will be
deduced
for a variable with
2270
/// Get the AutoType whose type will be
deduced
for a variable with
3090
/// type will have its size
deduced
from an initializer.
4941
/// placeholder type deduction: C++11 auto, C++14 decltype(auto), C++17
deduced
4944
/// These types are usually a placeholder for a
deduced
type. However, before
4946
/// type-dependent, there is no
deduced
type and the type is canonical. In
4953
// FIXME: Retain the sugared
deduced
type?
4965
/// Get the type
deduced
for this placeholder type, or null if it's
4966
/// either not been
deduced
or was deduced to a dependent type
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/AST/
ItaniumMangle.cpp
3910
"
Deduced
AutoType shouldn't be handled here!");
3919
QualType
Deduced
= T->getDeducedType();
3920
if (!
Deduced
.isNull())
3921
return mangleType(
Deduced
);
3924
assert(TD && "shouldn't form
deduced
TST unless we know we have a template");
5212
// Otherwise, we only need a correct type if the parameter has a
deduced
5218
// whether a
deduced
type appears in the type.
Type.cpp
1798
// The
deduced
type itself.
2595
// If this type hasn't been
deduced
yet, then conservatively assume that
3835
// Give non-
deduced
'auto' types external linkage. We should only see them
4409
QualType
Deduced
, AutoTypeKeyword Keyword,
4412
ID.AddPointer(
Deduced
.getAsOpaquePtr());
Completed in 57 milliseconds
Indexes created Tue Sep 22 00:26:15 UTC 2026