Home
last modified time | relevance | path

Searched refs:ConstType (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libc/spec/
H A Dposix.td3 def ConstSigSetPtrType : ConstType<SigSetPtrType>;
5 def ConstRestrictedSigSetType : ConstType<RestrictedSigSetType>;
9 def ConstStructSigactionPtr : ConstType<StructSigactionPtr>;
28 ConstType ConstCharPtr = ConstType<CharPtr>;
29 ConstType ConstRestrictedCharPtr = ConstType<RestrictedCharPtr>;
38 ConstType ConstPThreadAttrTPtr = ConstType<PThreadAttrTPtr>;
39 ConstType ConstRestrictedPThreadAttrTPtr = ConstType<RestrictedPThreadAttrTPtr>;
44 ConstType ConstPThreadMutexAttrTPtr = ConstType<PThreadMutexAttrTPtr>;
45 ConstType ConstRestrictedPThreadMutexAttrTPtr = ConstType<RestrictedPThreadMutexAttrTPtr>;
50 ConstType ConstPThreadMutexTPtr = ConstType<PThreadMutexTPtr>;
[all …]
H A Dspec.td30 class ConstType<Type type> : Type {
55 def ConstVoidPtr : ConstType<VoidPtr>;
71 def ConstVoidRestrictedPtr : ConstType<VoidRestrictedPtr>;
74 def ConstCharPtr : ConstType<CharPtr>;
77 def ConstCharRestrictedPtr : ConstType<CharRestrictedPtr>;
H A Dstdc.td103 ConstType ConstFEnvTPtr = ConstType<FEnvTPtr>;
106 ConstType ConstFExceptTPtr = ConstType<FExceptTPtr>;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DImplicitConversionInLoopCheck.cpp93 QualType ConstType = OperatorCall->getType().withConst(); in reportAndFix() local
94 QualType ConstRefType = Context->getLValueReferenceType(ConstType); in reportAndFix()
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td212 class ConstType<Type _Ty> : Type<_Ty.Name, _Ty.QTExpr> {
964 def : Builtin<name, [Void, PointerType<ConstType<AGenTypeN>, GlobalAS>, Size]>;
1490 def : Builtin<"ndrange_2D", [NDRange, PointerType<ConstType<Size>, PrivateAS>]>;
1491 def : Builtin<"ndrange_2D", [NDRange, PointerType<ConstType<Size>, PrivateAS>,
1492 PointerType<ConstType<Size>, PrivateAS>]>;
1493 def : Builtin<"ndrange_2D", [NDRange, PointerType<ConstType<Size>, PrivateAS>,
1494 PointerType<ConstType<Size>, PrivateAS>,
1495 PointerType<ConstType<Size>, PrivateAS>]>;
1497 def : Builtin<"ndrange_3D", [NDRange, PointerType<ConstType<Size>, PrivateAS>,
1499 def : Builtin<"ndrange_3D", [NDRange, PointerType<ConstType<Size>, PrivateAS>,
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConstCorrectnessCheck.cpp65 const auto ConstType = hasType(isConstQualified()); in registerMatchers() local
89 unless(anyOf(ConstType, ConstReference, TemplateType, in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp443 const ConstantArrayType *ConstType = in arrayMatchesBoundExpr() local
445 if (!ConstType) in arrayMatchesBoundExpr()
451 llvm::APSInt ArraySize(ConstType->getSize()); in arrayMatchesBoundExpr()