Home
last modified time | relevance | path

Searched refs:NewType (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp141 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec() local
145 New->setType(NewType); in CheckEquivalentExceptionSpec()
165 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec() local
169 New->setType(NewType); in CheckEquivalentExceptionSpec()
DTreeTransform.h3919 QualType NewType; in TransformFunctionTypeParams() local
3944 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
3945 if (NewType.isNull()) in TransformFunctionTypeParams()
3948 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
3961 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
3962 if (NewType.isNull()) in TransformFunctionTypeParams()
3965 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
3975 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
3977 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
3980 if (NewType.isNull()) in TransformFunctionTypeParams()
[all …]
DSemaDeclCXX.cpp524 QualType NewType = New->getType(); in MergeVarDeclExceptionSpecs() local
529 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { in MergeVarDeclExceptionSpecs()
530 NewType = R->getPointeeType(); in MergeVarDeclExceptionSpecs()
532 } else if (const PointerType *P = NewType->getAs<PointerType>()) { in MergeVarDeclExceptionSpecs()
533 NewType = P->getPointeeType(); in MergeVarDeclExceptionSpecs()
535 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { in MergeVarDeclExceptionSpecs()
536 NewType = M->getPointeeType(); in MergeVarDeclExceptionSpecs()
540 if (!NewType->isFunctionProtoType()) in MergeVarDeclExceptionSpecs()
548 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
DSemaOverload.cpp675 const FunctionProtoType* NewType = cast<FunctionProtoType>(NewQType); in IsOverload() local
681 (OldType->getNumArgs() != NewType->getNumArgs() || in IsOverload()
682 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
683 !FunctionArgTypesAreEqual(OldType, NewType))) in IsOverload()
702 OldType->getResultType() != NewType->getResultType())) in IsOverload()
2085 const FunctionProtoType *NewType) { in FunctionArgTypesAreEqual() argument
2088 NewType->arg_type_begin()); in FunctionArgTypesAreEqual()
2091 N = NewType->arg_type_begin(), in FunctionArgTypesAreEqual()
DSemaDecl.cpp1631 const FunctionType *NewType = New->getType()->getAs<FunctionType>(); in MergeFunctionDecl() local
1633 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
1662 << NewType->getRegParmType() in MergeFunctionDecl()
1673 NewType = Context.adjustFunctionType(NewType, NewTypeInfo); in MergeFunctionDecl()
1674 New->setType(QualType(NewType, 0)); in MergeFunctionDecl()
/external/llvm/lib/Linker/
DLinkModules.cpp574 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
578 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto()
771 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType()); in linkAppendingVarInit() local
772 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements)); in linkAppendingVarInit()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1683 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD() local
1685 NewType); in ProcessUGT_ADDCST_ADD()
1693 Value *TruncA = Builder->CreateTrunc(A, NewType, A->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
1694 Value *TruncB = Builder->CreateTrunc(B, NewType, B->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
/external/clang/lib/AST/
DDecl.cpp2322 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() argument
2328 IntegerType = NewType.getTypePtr(); in completeDefinition()
/external/clang/include/clang/AST/
DDecl.h2600 void completeDefinition(QualType NewType,
/external/clang/include/clang/Sema/
DSema.h1315 const FunctionProtoType *NewType);