Home
last modified time | relevance | path

Searched refs:TemplateArg (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/compiler/translator/msl/
DSymbolEnv.cpp86 TemplateArg::TemplateArg(bool value) : mKind(Kind::Bool), mValue(value) {} in TemplateArg() function in TemplateArg
88 TemplateArg::TemplateArg(int value) : mKind(Kind::Int), mValue(value) {} in TemplateArg() function in TemplateArg
90 TemplateArg::TemplateArg(unsigned value) : mKind(Kind::UInt), mValue(value) {} in TemplateArg() function in TemplateArg
92 TemplateArg::TemplateArg(const TType &value) : mKind(Kind::Type), mValue(value) {} in TemplateArg() function in TemplateArg
94 bool TemplateArg::operator==(const TemplateArg &other) const in operator ==()
114 bool TemplateArg::operator<(const TemplateArg &other) const in operator <()
194 for (const TemplateArg &arg : templateArgs) in fullName()
205 const TemplateArg::Value value = arg.value(); in fullName()
206 const TemplateArg::Kind kind = arg.kind(); in fullName()
209 case TemplateArg::Kind::Bool: in fullName()
[all …]
DSymbolEnv.h74 class TemplateArg
98 TemplateArg(bool value);
99 TemplateArg(int value);
100 TemplateArg(unsigned value);
101 TemplateArg(const TType &value);
103 bool operator==(const TemplateArg &other) const;
104 bool operator<(const TemplateArg &other) const;
120 std::vector<TemplateArg> templateArgs;
131 void assign(const Name &name, size_t argCount, const TemplateArg *args);
167 const TemplateArg *templateArgs = nullptr);
[all …]
DAstHelpers.cpp541 TemplateArg targ(toType); in AsType()
/external/clang/include/clang/AST/
DTemplateBase.h114 struct TA TemplateArg; member
163 TemplateArg.Kind = Template; in TemplateArgument()
164 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
165 TemplateArg.NumExpansions = 0; in TemplateArgument()
180 TemplateArg.Kind = TemplateExpansion; in TemplateArgument()
181 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
183 TemplateArg.NumExpansions = *NumExpansions + 1; in TemplateArgument()
185 TemplateArg.NumExpansions = 0; in TemplateArgument()
264 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplate()
273 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplateOrTemplatePattern()
DDeclTemplate.h492 for (const TemplateArgument &TemplateArg : TemplateArgs) in Profile() local
493 TemplateArg.Profile(ID, Context); in Profile()
1768 for (const TemplateArgument &TemplateArg : TemplateArgs)
1769 TemplateArg.Profile(ID, Context);
2603 for (const TemplateArgument &TemplateArg : TemplateArgs)
2604 TemplateArg.Profile(ID, Context);
/external/clang/test/SemaCXX/
Dimplicit-exception-spec.cpp26 struct TemplateArg { struct
27 …int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot use defaulted defaul…
/external/angle/src/compiler/translator/tree_ops/msl/
DAddExplicitTypeCasts.cpp78 TemplateArg templateArgs[] = {retType.getCols(), retType.getRows()}; in visitAggregatePost()
/external/clang/lib/AST/
DTemplateBase.cpp240 if (TemplateArg.NumExpansions) in getNumTemplateExpansions()
241 return TemplateArg.NumExpansions - 1; in getNumTemplateExpansions()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp4640 const TemplateArgument &TemplateArg,
4967 const TemplateArgument &TemplateArg, in MarkUsedTemplateParameters() argument
4971 switch (TemplateArg.getKind()) { in MarkUsedTemplateParameters()
4978 MarkUsedTemplateParameters(Ctx, TemplateArg.getNullPtrType(), OnlyDeduced, in MarkUsedTemplateParameters()
4983 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsType(), OnlyDeduced, in MarkUsedTemplateParameters()
4990 TemplateArg.getAsTemplateOrTemplatePattern(), in MarkUsedTemplateParameters()
4995 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
5000 for (const auto &P : TemplateArg.pack_elements()) in MarkUsedTemplateParameters()