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.cpp2331 QualType Sema::BuildVectorType(QualType CurType, Expr *SizeExpr, in BuildVectorType() argument
2335 if ((!CurType->isDependentType() && in BuildVectorType()
2336 (!CurType->isBuiltinType() || CurType->isBooleanType() || in BuildVectorType()
2337 (!CurType->isIntegerType() && !CurType->isRealFloatingType())) && in BuildVectorType()
2338 !CurType->isBitIntType()) || in BuildVectorType()
2339 CurType->isArrayType()) { in BuildVectorType()
2340 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << CurType; in BuildVectorType()
2344 if (const auto *BIT = CurType->getAs<BitIntType>(); in BuildVectorType()
2349 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType()
2361 if (CurType->isDependentType()) in BuildVectorType()
[all …]
H A DSemaOpenMP.cpp20935 QualType CurType = BaseE->getType().getNonReferenceType(); in VisitMemberExpr() local
20941 if (CurType->isUnionType()) { in VisitMemberExpr()
21009 QualType CurType = in VisitArraySectionExpr() local
21015 if (CurType->isReferenceType()) in VisitArraySectionExpr()
21016 CurType = CurType->getPointeeType(); in VisitArraySectionExpr()
21018 bool IsPointer = CurType->isAnyPointerType(); in VisitArraySectionExpr()
21020 if (!IsPointer && !CurType->isArrayType()) { in VisitArraySectionExpr()
21027 checkArrayExpressionDoesNotReferToWholeSize(SemaRef, OASE, CurType); in VisitArraySectionExpr()
21029 checkArrayExpressionDoesNotReferToUnitySize(SemaRef, OASE, CurType); in VisitArraySectionExpr()
H A DSemaTemplate.cpp2704 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier() local
2705 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp456 AsmTypeInfo CurType; member in __anonee973c6c0111::X86AsmParser::IntelExprStateMachine
482 StringRef getType() const { return CurType.Name; } in getType()
483 unsigned getSize() const { return CurType.Size; } in getSize()
484 unsigned getElementSize() const { return CurType.ElementSize; } in getElementSize()
485 unsigned getLength() const { return CurType.Length; } in getLength()
967 CurType.Length = 1; in onLBrac()
968 CurType.Size = CurType.ElementSize; in onLBrac()
1117 void setTypeInfo(AsmTypeInfo Type) { CurType = Type; } in setTypeInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp278 QualType CurType = SubExpr->getType(); in VisitCastExpr() local
283 CurType = B->getType(); in VisitCastExpr()
285 unsigned DerivedOffset = collectBaseOffset(B->getType(), CurType); in VisitCastExpr()
289 CurType = B->getType(); in VisitCastExpr()