Home
last modified time | relevance | path

Searched defs:trait (Results 1 – 16 of 16) sorted by relevance

/llvm-project/libcxx/test/std/strings/basic.string.hash/
H A Dchar_type_hash.verify.cpp21 struct trait // copied from <__string> struct
23 typedef _CharT char_type;
24 typedef int int_type;
25 typedef std::streamoff off_type;
26 typedef std::streampos pos_type;
50 typedef std::basic_string<CharT, trait<CharT> > str_t; in test() argument
/llvm-project/libcxx/test/std/strings/string.view/string.view.hash/
H A Dchar_type.hash.verify.cpp22 struct trait // copied from <__string> struct
24 typedef _CharT char_type;
25 typedef int int_type;
26 typedef std::streamoff off_type;
27 typedef std::streampos pos_type;
51 typedef std::basic_string_view<CharT, trait<CharT> > strv_t; in test() argument
/llvm-project/clang/test/SemaTemplate/
H A Dinstantiation-dependence.cpp47 struct trait { struct
48 static constexpr int specialization = 0;
56 …struct trait<T, void_t<typename T::value_type>> { // expected-note {{previous}} FIXME-note {{match… struct
57 static constexpr int specialization = 1;
61 …struct trait<T, void_t<typename T::element_type>> { // expected-error {{redefinition}} FIXME-note … struct
62 static constexpr int specialization = 2;
/llvm-project/mlir/lib/TableGen/
H A DTrait.cpp47 llvm::StringRef trait = def->getValueAsString("trait"); in getFullyQualifiedTraitName() local
93 llvm::StringRef trait = def->getValueAsString("trait"); in getFullyQualifiedTraitName() local
H A DSideEffects.cpp29 StringRef trait = def->getValueAsString("interfaceTrait"); in getInterfaceTrait() local
H A DOperator.cpp431 for (const Trait &trait : traits) { populateTypeInferenceInfo() local
711 __anon6101fad90a02(Record *trait) populateOpStructure() argument
[all...]
/llvm-project/mlir/tools/mlir-tblgen/
H A DOpClass.h32 void addTrait(Twine trait) { parent.addTemplateParam(trait.str()); } in addTrait()
H A DAttrOrTypeDefGen.cpp216 // Emit trait interface methods in createParentWithTraits() local
229 for (const auto &trait : def.getTraits()) { formatExtraDeclarations() local
248 for (const auto &trait : def.getTraits()) { formatExtraDefinitions() local
360 if (auto *trait = dyn_cast<InterfaceTrait>(&traitDef)) emitInterfaceMethods() local
470 emitTraitMethods(const InterfaceTrait & trait) emitTraitMethods() argument
[all...]
H A DOpDefinitionsGen.cpp990 for (const auto &trait : op.getTraits()) { formatExtraDeclarations() local
1008 for (const auto &trait : op.getTraits()) { formatExtraDefinitions() local
3319 for (const auto &trait : op.getTraits()) { global() local
3352 for (const auto &trait : op.getTraits()) { global() local
3448 const auto *trait = global() local
3577 for (auto &trait : op.getTraits()) { global() local
3832 for (const auto &trait : op.getTraits()) { global() local
3847 for (const auto &trait : op.getTraits()) { global() local
[all...]
H A DOpDocGen.cpp137 // TODO: We should link to the trait/documentation of it. That also means we in emitOpTraitsDoc() local
[all...]
H A DOpFormatGen.cpp315 __anonae090d040502(const Trait &trait) OperationFormat() argument
2666 for (const Trait &trait : op.getTraits()) { verify() local
/llvm-project/flang/test/Semantics/OpenMP/
H A Dallocators04.f9019 type(omp_alloctrait) :: trait(1) local
H A Dallocate08.f9022 type(omp_alloctrait), dimension(1) :: trait local
/llvm-project/mlir/include/mlir/IR/
H A DStorageUniquerSupport.h52 auto *trait = static_cast<const TraitType<ConcreteType> *>(this); in getInstance() local
/llvm-project/clang/test/SemaCXX/
H A Daccess-base-class.cpp99 struct trait : flag<sizeof(T)> {}; // expected-note 2{{here}} struct
/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/
H A Dcompound-requirement.cpp203 class trait { class