Home
last modified time | relevance | path

Searched refs:CurType (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaType.cpp6303 static void HandleVectorSizeAttr(QualType& CurType, const AttributeList &Attr, in HandleVectorSizeAttr() argument
6324 if (!CurType->isBuiltinType() || CurType->isBooleanType() || in HandleVectorSizeAttr()
6325 (!CurType->isIntegerType() && !CurType->isRealFloatingType())) { in HandleVectorSizeAttr()
6326 S.Diag(Attr.getLoc(), diag::err_attribute_invalid_vector_type) << CurType; in HandleVectorSizeAttr()
6330 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleVectorSizeAttr()
6356 CurType = S.Context.getVectorType(CurType, vectorSize/typeSize, in HandleVectorSizeAttr()
6362 static void HandleExtVectorTypeAttr(QualType &CurType, in HandleExtVectorTypeAttr() argument
6392 QualType T = S.BuildExtVectorType(CurType, sizeExpr, Attr.getLoc()); in HandleExtVectorTypeAttr()
6394 CurType = T; in HandleExtVectorTypeAttr()
6452 static void HandleNeonVectorTypeAttr(QualType& CurType, in HandleNeonVectorTypeAttr() argument
[all …]
DSemaOpenMP.cpp10538 QualType CurType = BaseE->getType().getNonReferenceType(); in CheckMapClauseExpressionBase() local
10544 if (auto *RT = CurType->getAs<RecordType>()) in CheckMapClauseExpressionBase()
10592 auto CurType = in CheckMapClauseExpressionBase() local
10598 if (CurType->isReferenceType()) in CheckMapClauseExpressionBase()
10599 CurType = CurType->getPointeeType(); in CheckMapClauseExpressionBase()
10601 bool IsPointer = CurType->isAnyPointerType(); in CheckMapClauseExpressionBase()
10603 if (!IsPointer && !CurType->isArrayType()) { in CheckMapClauseExpressionBase()
10610 CheckArrayExpressionDoesNotReferToWholeSize(SemaRef, CurE, CurType); in CheckMapClauseExpressionBase()
10612 CheckArrayExpressionDoesNotReferToUnitySize(SemaRef, CurE, CurType); in CheckMapClauseExpressionBase()
DSemaTemplate.cpp1614 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier() local
1615 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp929 LLVMTypeRef CurType = TypeCloner(M).Clone(Cur); in declare_symbols() local
931 LLVMAddAlias(M, CurType, LLVMGetUndef(CurType), Name); in declare_symbols()