Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp2295 QualType Sema::BuildVectorType(QualType CurType, Expr *SizeExpr, in BuildVectorType() argument
2299 if ((!CurType->isDependentType() && in BuildVectorType()
2300 (!CurType->isBuiltinType() || CurType->isBooleanType() || in BuildVectorType()
2301 (!CurType->isIntegerType() && !CurType->isRealFloatingType())) && in BuildVectorType()
2302 !CurType->isBitIntType()) || in BuildVectorType()
2303 CurType->isArrayType()) { in BuildVectorType()
2304 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << CurType; in BuildVectorType()
2308 if (const auto *BIT = CurType->getAs<BitIntType>()) { in BuildVectorType()
2318 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType()
2330 if (CurType->isDependentType()) in BuildVectorType()
[all …]
H A DSemaOpenMP.cpp20270 QualType CurType = BaseE->getType().getNonReferenceType(); in VisitMemberExpr() local
20276 if (CurType->isUnionType()) { in VisitMemberExpr()
20344 QualType CurType = in VisitArraySectionExpr() local
20350 if (CurType->isReferenceType()) in VisitArraySectionExpr()
20351 CurType = CurType->getPointeeType(); in VisitArraySectionExpr()
20353 bool IsPointer = CurType->isAnyPointerType(); in VisitArraySectionExpr()
20355 if (!IsPointer && !CurType->isArrayType()) { in VisitArraySectionExpr()
20362 checkArrayExpressionDoesNotReferToWholeSize(SemaRef, OASE, CurType); in VisitArraySectionExpr()
20364 checkArrayExpressionDoesNotReferToUnitySize(SemaRef, OASE, CurType); in VisitArraySectionExpr()
H A DSemaTemplate.cpp2663 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier() local
2664 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp450 AsmTypeInfo CurType; member in __anonee973c6c0111::X86AsmParser::IntelExprStateMachine
476 StringRef getType() const { return CurType.Name; } in getType()
477 unsigned getSize() const { return CurType.Size; } in getSize()
478 unsigned getElementSize() const { return CurType.ElementSize; } in getElementSize()
479 unsigned getLength() const { return CurType.Length; } in getLength()
961 CurType.Length = 1; in onLBrac()
962 CurType.Size = CurType.ElementSize; in onLBrac()
1093 void setTypeInfo(AsmTypeInfo Type) { CurType = Type; } in setTypeInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp250 QualType CurType = SubExpr->getType(); in VisitCastExpr() local
255 CurType = B->getType(); in VisitCastExpr()
257 unsigned DerivedOffset = collectBaseOffset(B->getType(), CurType); in VisitCastExpr()
260 CurType = B->getType(); in VisitCastExpr()