HomeSort by: relevance | last modified time | path
    Searched refs:ParamType (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-param-util.h 55 template <class ParamType>
57 TestParamInfo(const ParamType& a_param, size_t an_index) :
60 ParamType param;
67 template <class ParamType>
68 std::string operator()(const TestParamInfo<ParamType>& info) const {
166 typedef T ParamType;
373 template <class ParamType>
374 std::string DefaultParamName(const TestParamInfo<ParamType>& info) {
394 typedef typename TestClass::ParamType ParamType;
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchersMacros.h 63 /// AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) {
71 /// is ParamType.
74 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \
75 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \
77 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \
79 inline ReturnType DefineMatcher(ParamType const &Param); \
80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
81 inline ReturnType DefineMatcher(ParamType const &Param)
115 /// AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) { ... }
123 /// is ParamType
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
gtest-param-test.h 298 typedef typename std::iterator_traits<ForwardIterator>::value_type ParamType;
299 return internal::ParamGenerator<ParamType>(
300 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end));
446 // accept one argument of type testing::TestParamInfo<class ParamType>, and
461 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \
466 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \
470 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
478 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
gtest.h 1851 typedef T ParamType;
1856 static const ParamType& GetParam() {
1866 static void SetParam(const ParamType* parameter) {
1871 static const ParamType* parameter_;
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFixFunctionBitcasts.cpp 144 Type *ParamType = *PI;
146 if (ArgType == ParamType) {
149 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) {
151 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast");
154 } else if (ArgType->isStructTy() || ParamType->isStructTy()) {
162 << *ParamType << " Got: " << *ArgType << "\n");
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
Consumed.cpp 181 static bool isRValueRef(QualType ParamType) {
182 return ParamType->isRValueReferenceType();
189 static bool isPointerOrRef(QualType ParamType) {
190 return ParamType->isPointerType() || ParamType->isReferenceType();
624 QualType ParamType = Param->getType();
649 else if (isRValueRef(ParamType) || isConsumableType(ParamType))
651 else if (isPointerOrRef(ParamType) &&
652 (!ParamType->getPointeeType().isConstQualified() |
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplate.cpp 6248 QualType ParamType, Expr *Arg,
6258 if (!S.isCompleteType(Arg->getExprLoc(), ParamType))
6309 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) ||
6310 S.IsQualificationConversion(Arg->getType(), ParamType, false,
6317 << Arg->getType() << ParamType << Arg->getSourceRange();
6325 std::string Code = "static_cast<" + ParamType.getAsString() + ">(";
6327 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code)
6343 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn,
6346 if (ParamType->isPointerType() &&
6347 !ParamType->castAs<PointerType>()->getPointeeType()->isFunctionType() &
    [all...]
SemaTemplateDeduction.cpp 416 QualType ParamType = S.Context.getAdjustedParameterType(NTTP->getType());
417 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType))
418 ParamType = Expansion->getPattern();
425 if (ParamType->isReferenceType())
426 ParamType = ParamType.getNonReferenceType();
432 S, TemplateParams, ParamType, ValueType, Info, Deduced,
1125 /// a deduced set of qualifiers to the ParamType that would result in
1127 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType,
1129 Qualifiers ParamQs = ParamType.getQualifiers()
    [all...]
SemaDeclCXX.cpp 4641 QualType ParamType = Param->getType().getNonReferenceType();
4646 Constructor->getLocation(), ParamType,
4654 ParamType.getQualifiers());
4711 QualType ParamType = Param->getType().getNonReferenceType();
4720 Loc, ParamType, VK_LValue, nullptr);
4737 ParamType, Loc,
10330 QualType ParamType = Constructor->getParamDecl(0)->getType();
10332 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) {
10370 QualType ParamType = OperatorDelete->getParamDecl(0)->getType();
10371 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD))
    [all...]
SemaCodeComplete.cpp 3584 QualType ParamType = (*P)->getType();
3589 if (ParamType->isBlockPointerType() && !DeclaringEntity)
3594 ParamType = ParamType.substObjCTypeArgs(
3597 ParamType);
3598 Arg += ParamType.getAsString(Policy) + ")";
5689 QualType ParamType;
5694 if (ParamType.isNull())
5695 ParamType = Proto->getParamType(N);
5697 ParamType.getNonReferenceType()
    [all...]
SemaStmt.cpp 4695 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD));
4697 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType,
4733 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD))
4737 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType,
4755 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD));
4757 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType,
SemaChecking.cpp 4530 for (auto paramType : Proto->getParamTypes()) {
4531 if (isNonNullType(S.Context, paramType)) {
9417 QualType ParamType = getAbsoluteValueArgumentType(Context, Kind);
9418 if (Context.getTypeSize(ParamType) >= ArgSize) {
9421 else if (Context.hasSameType(ParamType, ArgType)) {
9582 QualType ParamType = FDecl->getParamDecl(0)->getType();
9583 if (getAbsoluteValueKind(ArgType) == getAbsoluteValueKind(ParamType) &&
9585 S.Context.getTypeSize(ParamType)) {
9653 QualType ParamType = Call->getArg(0)->getType();
9660 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCMachineFunctionInfo.h 26 // The value in the ParamType are used to indicate the bitstrings used in the
28 enum ParamType {
129 /// ParamType - Encode type for every parameter
232 void appendParameterType(ParamType Type);
PPCMachineFunctionInfo.cpp 68 void PPCFunctionInfo::appendParameterType(ParamType Type) {
74 // ParamType.
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
MismatchedIteratorChecker.cpp 177 const auto *ParamType =
179 if (!ParamType ||
180 ParamType->getReplacedParameter()->getDecl() != TPDecl)
DynamicTypePropagation.cpp 867 QualType ParamType = OrigParamType.substObjCTypeArgs(
870 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>();
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
wasm2yaml.cpp 217 for (const auto &ParamType : FunctionSig.Params)
218 Sig.ParamTypes.emplace_back(static_cast<uint32_t>(ParamType));
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
CodeGenTarget.cpp 902 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]);
903 return ParamType == MVT::iPTR || ParamType == MVT::iPTRAny;
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclCXX.cpp 2389 QualType ParamType = getParamDecl(0)->getType();
2390 if (const auto *Ref = ParamType->getAs<LValueReferenceType>())
2391 ParamType = Ref->getPointeeType();
2396 return Context.hasSameUnqualifiedType(ClassType, ParamType);
2409 QualType ParamType = getParamDecl(0)->getType();
2410 if (!isa<RValueReferenceType>(ParamType))
2412 ParamType = ParamType->getPointeeType();
2417 return Context.hasSameUnqualifiedType(ClassType, ParamType);
2737 CanQualType ParamType = Context.getCanonicalType(Param->getType())
    [all...]
ODRHash.cpp 903 for (auto ParamType : T->getParamTypes())
904 AddQualType(ParamType);
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
WasmEmitter.cpp 363 for (auto ParamType : Sig.ParamTypes)
364 writeUint8(OS, ParamType);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.cpp 2364 QualType ParamType = I->type;
2379 bool ArgNoUndef = DetermineNoUndef(ParamType, getTypes(), DL, AI);
2406 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType));
2408 auto *Decl = ParamType->getAsRecordDecl();
2445 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType));
2461 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) {
2471 getNaturalPointeeTypeAlignment(ParamType).getAsAlign();
2484 Attrs.addStructRetAttr(getTypes().ConvertTypeForMem(ParamType));
2492 auto PTy = ParamType->getPointeeType();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 868 Type *ParamType = T->getParamType(I);
870 if (isa<PointerType>(ParamType) &&
871 (FT = dyn_cast<FunctionType>(ParamType->getPointerElementType()))) {
877 ArgTypes.push_back(ParamType);
InstrProfiling.cpp 606 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType
  /src/external/apache2/llvm/dist/llvm/lib/Object/
WasmObjectFile.cpp 1018 uint32_t ParamType = readUint8(Ctx);
1019 Sig.Params.push_back(wasm::ValType(ParamType));

Completed in 65 milliseconds

1 2