Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DMathFunctions.h314 template<typename OldType, typename NewType>
317 static inline NewType run(const OldType& x)
325 template<typename OldType, typename NewType>
326 inline NewType cast(const OldType& x)
328 return cast_impl<OldType, NewType>::run(x);
/external/clang/lib/Sema/
DSemaDecl.cpp1844 QualType OldType; in isIncompatibleTypedef() local
1846 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
1848 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
1862 if (OldType != NewType && in isIncompatibleTypedef()
1863 !OldType->isDependentType() && in isIncompatibleTypedef()
1865 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
1868 << Kind << NewType << OldType; in isIncompatibleTypedef()
2743 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl() local
2745 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
2787 << OldType->getRegParmType(); in MergeFunctionDecl()
[all …]
DSemaOverload.cpp989 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
996 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()
997 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
998 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()
1017 OldType->getReturnType() != NewType->getReturnType())) in IsOverload()
2633 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument
2636 for (FunctionProtoType::param_type_iterator O = OldType->param_type_begin(), in FunctionParamTypesAreEqual()
2638 E = OldType->param_type_end(); in FunctionParamTypesAreEqual()
2643 *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.h4702 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
4707 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
4757 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
4760 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4762 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
DSemaOpenMP.cpp3615 QualType OldType = E->getType(); in WidenIterationCount() local
3616 unsigned HasBits = C.getTypeSize(OldType); in WidenIterationCount()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4692 Type *OldType = Cond->getType(); in optimizeSwitchInst() local
4694 MVT RegType = TLI->getRegisterType(Context, TLI->getValueType(*DL, OldType)); in optimizeSwitchInst()
4697 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchInst()
/external/clang/include/clang/Sema/
DSema.h2219 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,