Home
last modified time | relevance | path

Searched refs:isConstQualified (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp108 bool HasConst = Ty.isConstQualified(); in isGlobalConstString()
125 HasConst = HasConst || Ty.isConstQualified(); in isGlobalConstString()
H A DInnerPointerChecker.cpp160 ParamTy->getPointeeType().isConstQualified()) in checkFunctionArguments()
H A DCastValueChecker.cpp187 alignTowards.isConstQualified()) { in alignReferenceTypes()
H A DGenericTaintChecker.cpp986 const bool IsNonConstRef = Ty->isReferenceType() && !Ty.isConstQualified(); in process()
988 Ty->isPointerType() && !Ty->getPointeeType().isConstQualified(); in process()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp84 if (!D->getType().isConstQualified()) in diagnoseUnknownDecl()
100 VarD && VarD->getType().isConstQualified() && in diagnoseNonConstVariable()
163 if (Ptr.getDeclDesc()->getType().isConstQualified()) in CheckTemporary()
312 T.isConstQualified(); in CheckConstant()
314 if (T.isConstQualified()) in CheckConstant()
318 return RT->getPointeeType().isConstQualified(); in CheckConstant()
321 return PT->getPointeeType().isConstQualified(); in CheckConstant()
H A DProgram.cpp220 const bool IsConst = Ty.isConstQualified(); in createGlobal()
341 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAVR.cpp125 toTargetAddressSpace(AS) <= 6 && !D->getType().isConstQualified()) in getGlobalVarAddressSpace()
H A DXCore.cpp462 if (QT.isConstQualified()) in appendQualifier()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp256 .isConstQualified(); in lambdaCaptureShouldBeConst()
H A DSemaCUDA.cpp171 if ((Var->isConstexpr() || Var->getType().isConstQualified()) && in IdentifyTarget()
812 ((VD->isConstexpr() || VD->getType().isConstQualified()) && in MaybeAddConstantAttr()
H A DCheckExprLifetime.cpp678 if (VD && VD->getType().isConstQualified() && VD->getInit() && in visitLocalsRetainedByInitializer()
685 if (MTE->getType().isConstQualified()) in visitLocalsRetainedByInitializer()
H A DSemaSwift.cpp562 return !ParamTy->getPointeeType().isConstQualified(); in DiagnoseName()
H A DSemaDeclCXX.cpp4997 if (FieldBaseElementType.isConstQualified()) { in BuildImplicitMemberInitializer()
6852 (F->getType().isConstQualified() && F->getType()->isScalarType())) { in CheckCompletedCXXClass()
7636 if (ThisType.isConstQualified() || ThisType.isVolatileQualified()) { in CheckExplicitlyDefaultedSpecialMember()
7676 HasConstParam = ReferentType.isConstQualified(); in CheckExplicitlyDefaultedSpecialMember()
8739 if (!T.isConstQualified()) { in CheckExplicitlyDefaultedComparison()
9178 ConstArg = RT->getPointeeType().isConstQualified(); in SpecialMemberVisitor()
9503 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField()
9512 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField()
9531 if (!FieldRecord && FieldType.isConstQualified()) { in shouldDeleteForField()
9554 if (!UnionFieldType.isConstQualified()) in shouldDeleteForField()
[all...]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp165 referenceType(pointee(unless(isConstQualified())))); in __anon2875c4430902()
170 pointerType(pointee(unless(isConstQualified())))); in __anon2875c4430a02()
H A DUninitializedValues.cpp420 return QT->isAnyPointerType() && QT->getPointeeType().isConstQualified(); in isPointerToConst()
449 if ((*I)->getType().isConstQualified()) in VisitCallExpr()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp215 if (qt->isIntegralOrEnumerationType() && qt.isConstQualified() && in CanTakeAddressOfLValue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp114 parmVarDecl(hasType(references(qualType(unless(isConstQualified()))))))); in callByRef()
H A DRegionStore.cpp1730 if (!VD->getType().isConstQualified() && in getConstantValFromConstArrayInitializer()
1731 !R->getElementType().isConstQualified() && in getConstantValFromConstArrayInitializer()
1977 if (RecordVarTy.isConstQualified() || Ty.isConstQualified() || in getBindingForField()
2200 if (VD->getType().isConstQualified()) { in getBindingForVar()
H A DCallEvent.cpp106 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst()
212 if (!PointeeTy.isConstQualified()) in isPointerToConst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp406 if (self->getType().isConstQualified()) { in canMessageReceiverBeNull()
H A DCGBlocks.cpp457 if (!type.isConstQualified()) return nullptr; in tryCaptureAsConstant()
978 } else if (type.isConstQualified() && in EmitBlockLiteral()
1045 if (type.isConstQualified() && in EmitBlockLiteral()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h137 bool isConstQualified() const { in isConstQualified() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp684 if (CT.isConstQualified()) in IsModifiable()
H A DFormatString.cpp338 if (PT->getPointeeType().isConstQualified()) in matchesType()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp418 REGISTER_MATCHER(isConstQualified); in RegistryMaps()

123