Searched refs:ConstType (Results 1 – 9 of 9) sorted by relevance
/llvm-project/libc/spec/ |
H A D | posix.td |
|
H A D | spec.td |
|
H A D | gnu_ext.td |
|
H A D | stdc.td |
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | ImplicitConversionInLoopCheck.cpp | 91 QualType ConstType = OperatorCall->getType().withConst(); in reportAndFix() local 92 QualType ConstRefType = Context->getLValueReferenceType(ConstType); in reportAndFix()
|
/llvm-project/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 212 class ConstType<Type _Ty> : Type<_Ty.Name, _Ty.QTExpr> { 369 def "HalfPtrConst" # AS : PointerType<ConstType<Type<"__half", QualType<"Context.HalfTy">>>, AS>; 852 … def : Builtin<name, [VectorType<Char, VSize>, Size, PointerType<ConstType<Char>, AS>], Attr.Pure>; 853 …def : Builtin<name, [VectorType<UChar, VSize>, Size, PointerType<ConstType<UChar>, AS>], Attr.Pure… 854 …def : Builtin<name, [VectorType<Short, VSize>, Size, PointerType<ConstType<Short>, AS>], Attr.Pure… 855 …def : Builtin<name, [VectorType<UShort, VSize>, Size, PointerType<ConstType<UShort>, AS>], Attr.Pu… 856 … def : Builtin<name, [VectorType<Int, VSize>, Size, PointerType<ConstType<Int>, AS>], Attr.Pure>; 857 … def : Builtin<name, [VectorType<UInt, VSize>, Size, PointerType<ConstType<UInt>, AS>], Attr.Pure>; 858 … def : Builtin<name, [VectorType<Long, VSize>, Size, PointerType<ConstType<Long>, AS>], Attr.Pure>; 859 …def : Builtin<name, [VectorType<ULong, VSize>, Size, PointerType<ConstType<ULong>, AS>], Attr.Pure… [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | avoid-const-or-ref-data-members.cpp | 97 using ConstType = const int; typedef 103 ConstType c; 104 // CHECK-MESSAGES: :[[@LINE-1]]:13: warning: member 'c' of type 'ConstType' (aka 'const int') is const qualified
|
/llvm-project/clang-tools-extra/clang-tidy/misc/ |
H A D | ConstCorrectnessCheck.cpp | 63 const auto ConstType = hasType(isConstQualified()); in registerMatchers() local 87 unless(anyOf(ConstType, ConstReference, TemplateType, in registerMatchers()
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | LoopConvertUtils.cpp | 437 const ConstantArrayType *ConstType = in arrayMatchesBoundExpr() local 439 if (!ConstType) in arrayMatchesBoundExpr() 445 llvm::APSInt ArraySize(ConstType->getSize()); in arrayMatchesBoundExpr()
|