Home
last modified time | relevance | path

Searched refs:LiteralType (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DUppercaseLiteralSuffixCheck.cpp105 template <typename LiteralType>
112 const auto &L = cast<typename LiteralType::type>(Literal); in shouldReplaceLiteralSuffix()
140 if (!LiteralType::SkipFirst.empty()) { in shouldReplaceLiteralSuffix()
144 Skip = LiteralSourceText.find_first_of(LiteralType::SkipFirst); in shouldReplaceLiteralSuffix()
153 Skip = LiteralSourceText.find_first_of(LiteralType::Suffixes, /*From=*/Skip); in shouldReplaceLiteralSuffix()
208 template <typename LiteralType>
212 Result.Nodes.getNodeAs<typename LiteralType::type>(LiteralType::Name); in checkBoundMatch()
218 if (auto Details = shouldReplaceLiteralSuffix<LiteralType>( in checkBoundMatch()
224 << LiteralType::Name << Details->OldSuffix; in checkBoundMatch()
DUppercaseLiteralSuffixCheck.h33 template <typename LiteralType>
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcollective_ops_test.cc87 template <typename LiteralType>
92 primitive_util::NativeToPrimitiveType<LiteralType>()); in TestTwoReplicasOneOperand()
109 template <typename LiteralType>
111 auto cast = [&](int value) { return static_cast<LiteralType>(value); }; in TestAllOpsForReduce()
112 auto to_literal = [&](absl::Span<const LiteralType> values) { in TestAllOpsForReduce()
113 return LiteralUtil::CreateR1<LiteralType>(values); in TestAllOpsForReduce()
116 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()
120 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()
124 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()
128 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()
/external/clang/test/SemaCXX/
Dliteral-type.cpp31 struct LiteralType { struct
46 static_assert(__is_literal(LiteralType), "fail"); argument
/external/llvm-project/clang/test/SemaCXX/
Dliteral-type.cpp31 struct LiteralType { struct
46 static_assert(__is_literal(LiteralType), "fail"); argument