Home
last modified time | relevance | path

Searched refs:OldType (Results 1 – 8 of 8) sorted by relevance

/external/eigen/Eigen/src/Core/
DMathFunctions.h387 template<typename OldType, typename NewType>
391 static inline NewType run(const OldType& x)
399 template<typename OldType, typename NewType>
401 inline NewType cast(const OldType& x)
403 return cast_impl<OldType, NewType>::run(x);
/external/clang/lib/Sema/
DSemaDecl.cpp1899 QualType OldType; in isIncompatibleTypedef() local
1901 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
1903 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
1917 if (OldType != NewType && in isIncompatibleTypedef()
1918 !OldType->isDependentType() && in isIncompatibleTypedef()
1920 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
1923 << Kind << NewType << OldType; in isIncompatibleTypedef()
2817 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl() local
2819 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
2861 << OldType->getRegParmType(); in MergeFunctionDecl()
[all …]
DSemaOverload.cpp1027 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
1034 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()
1035 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
1036 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()
1055 OldType->getReturnType() != NewType->getReturnType())) in IsOverload()
2698 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument
2701 for (FunctionProtoType::param_type_iterator O = OldType->param_type_begin(), in FunctionParamTypesAreEqual()
2703 E = OldType->param_type_end(); in FunctionParamTypesAreEqual()
2708 *ArgPos = O - OldType->param_type_begin(); in FunctionParamTypesAreEqual()
DSemaDeclCXX.cpp681 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
687 OldType = OldType->getAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
690 OldType = OldType->getAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
693 OldType = OldType->getAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
703 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
DTreeTransform.h4816 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
4821 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
4883 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
4886 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4888 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
DSemaOpenMP.cpp4863 QualType OldType = E->getType(); in WidenIterationCount() local
4864 unsigned HasBits = C.getTypeSize(OldType); in WidenIterationCount()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4777 Type *OldType = Cond->getType(); in optimizeSwitchInst() local
4779 MVT RegType = TLI->getRegisterType(Context, TLI->getValueType(*DL, OldType)); in optimizeSwitchInst()
4782 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchInst()
/external/clang/include/clang/Sema/
DSema.h2282 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,