Home
last modified time | relevance | path

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

/llvm-project/libc/spec/
H A Dposix.td
H A Dspec.td
H A Dgnu_ext.td
H A Dstdc.td
/llvm-project/clang-tools-extra/clang-tidy/performance/
H A DImplicitConversionInLoopCheck.cpp91 QualType ConstType = OperatorCall->getType().withConst(); in reportAndFix() local
92 QualType ConstRefType = Context->getLValueReferenceType(ConstType); in reportAndFix()
/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td212 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 Davoid-const-or-ref-data-members.cpp97 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 DConstCorrectnessCheck.cpp63 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 DLoopConvertUtils.cpp437 const ConstantArrayType *ConstType = in arrayMatchesBoundExpr() local
439 if (!ConstType) in arrayMatchesBoundExpr()
445 llvm::APSInt ArraySize(ConstType->getSize()); in arrayMatchesBoundExpr()