/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NonnullGlobalConstantsChecker.cpp | 108 bool HasConst = Ty.isConstQualified(); in isGlobalConstString() 125 HasConst = HasConst || Ty.isConstQualified(); in isGlobalConstString()
|
H A D | InnerPointerChecker.cpp | 160 ParamTy->getPointeeType().isConstQualified()) in checkFunctionArguments()
|
H A D | CastValueChecker.cpp | 187 alignTowards.isConstQualified()) { in alignReferenceTypes()
|
H A D | GenericTaintChecker.cpp | 986 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 D | Interp.cpp | 84 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 D | Program.cpp | 220 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 D | AVR.cpp | 125 toTargetAddressSpace(AS) <= 6 && !D->getType().isConstQualified()) in getGlobalVarAddressSpace()
|
H A D | XCore.cpp | 462 if (QT.isConstQualified()) in appendQualifier()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 256 .isConstQualified(); in lambdaCaptureShouldBeConst()
|
H A D | SemaCUDA.cpp | 171 if ((Var->isConstexpr() || Var->getType().isConstQualified()) && in IdentifyTarget() 812 ((VD->isConstexpr() || VD->getType().isConstQualified()) && in MaybeAddConstantAttr()
|
H A D | CheckExprLifetime.cpp | 678 if (VD && VD->getType().isConstQualified() && VD->getInit() && in visitLocalsRetainedByInitializer() 685 if (MTE->getType().isConstQualified()) in visitLocalsRetainedByInitializer()
|
H A D | SemaSwift.cpp | 562 return !ParamTy->getPointeeType().isConstQualified(); in DiagnoseName()
|
H A D | SemaDeclCXX.cpp | 4997 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 D | ExprMutationAnalyzer.cpp | 165 referenceType(pointee(unless(isConstQualified())))); in __anon2875c4430902() 170 pointerType(pointee(unless(isConstQualified())))); in __anon2875c4430a02()
|
H A D | UninitializedValues.cpp | 420 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 D | ASTResultSynthesizer.cpp | 215 if (qt->isIntegralOrEnumerationType() && qt.isConstQualified() && in CanTakeAddressOfLValue()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopUnrolling.cpp | 114 parmVarDecl(hasType(references(qualType(unless(isConstQualified()))))))); in callByRef()
|
H A D | RegionStore.cpp | 1730 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 D | CallEvent.cpp | 106 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst() 212 if (!PointeeTy.isConstQualified()) in isPointerToConst()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.cpp | 406 if (self->getType().isConstQualified()) { in canMessageReceiverBeNull()
|
H A D | CGBlocks.cpp | 457 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 D | CanonicalType.h | 137 bool isConstQualified() const { in isConstQualified() function
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprClassification.cpp | 684 if (CT.isConstQualified()) in IsModifiable()
|
H A D | FormatString.cpp | 338 if (PT->getPointeeType().isConstQualified()) in matchesType()
|
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 418 REGISTER_MATCHER(isConstQualified); in RegistryMaps()
|