/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 462 {isConstQualified(), arrayType()}) in TEST() 3054 varDecl(hasType(isConstQualified())))); in TEST() 3059 varDecl(hasType(isConstQualified())))); in TEST() 3064 varDecl(hasType(isConstQualified())))); in TEST() 3066 varDecl(hasType(isConstQualified())))); in TEST() 3071 varDecl(hasType(isConstQualified())))); in TEST() 3073 varDecl(hasType(isConstQualified())))); in TEST() 4167 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() 4170 qualType(isConstQualified(), arrayType()))); in TEST() 4174 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 491 if ((!PType.isNull() && !PType.isConstQualified()) in process() 492 || (ArgTy->isReferenceType() && !Arg->getType().isConstQualified())) in process()
|
D | DeadStoresChecker.cpp | 368 VD->getType().isConstQualified()) in observeStmt()
|
D | CallAndMessageChecker.cpp | 165 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 437 return QT->isAnyPointerType() && QT->getPointeeType().isConstQualified(); in isPointerToConst() 460 if ((*I)->getType().isConstQualified()) in VisitCallExpr()
|
D | FormatString.cpp | 268 if (PT->getPointeeType().isConstQualified()) in matchesType()
|
D | Consumed.cpp | 649 (!ParamType->getPointeeType().isConstQualified() || in handleCall()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 80 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst() 135 if (!PointeeTy.isConstQualified()) in isPointerToConst()
|
D | MemRegion.cpp | 786 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
|
D | BugReporterVisitors.cpp | 1621 if (T->getPointeeType().isConstQualified()) in VisitNode()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 125 bool isConstQualified() const { in isConstQualified() function
|
D | Type.h | 654 bool isConstQualified() const; 5112 inline bool QualType::isConstQualified() const {
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 268 REGISTER_MATCHER(isConstQualified); in RegistryMaps()
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 614 if (CT.isConstQualified()) in IsModifiable()
|
D | DeclCXX.cpp | 552 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember() 898 if (T.isConstQualified()) in addedMember()
|
D | ExprConstant.cpp | 2365 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2401 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2425 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2484 if (QT.isConstQualified()) { in checkConst() 2672 if (!BaseType.isConstQualified()) { in findCompleteObject() 2681 } else if (BaseType->isFloatingType() && BaseType.isConstQualified()) { in findCompleteObject() 2730 if (!(BaseType.isConstQualified() && in findCompleteObject() 2865 if (QT.isConstQualified()) { in checkConst() 2980 if (QT.isConstQualified()) { in checkConst()
|
D | Decl.cpp | 598 Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl() 2082 if (!getType().isConstQualified() || getType().isVolatileQualified()) in isUsableInConstantExpressions()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3565 AST_MATCHER(QualType, isConstQualified) { in AST_MATCHER() argument 3566 return Node.isConstQualified(); in AST_MATCHER()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 3651 if (FieldBaseElementType.isConstQualified()) { in BuildImplicitMemberInitializer() 4911 (F->getType().isConstQualified() && F->getType()->isScalarType())) { in CheckCompletedCXXClass() 5295 HasConstParam = ReferentType.isConstQualified(); in CheckExplicitlyDefaultedSpecialMember() 5484 ConstArg = RT->getPointeeType().isConstQualified(); in SpecialMemberDeletionInfo() 5651 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField() 5660 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField() 5679 if (!FieldRecord && FieldType.isConstQualified()) { in shouldDeleteForField() 5699 if (!UnionFieldType.isConstQualified()) in shouldDeleteForField() 9950 if (T->isArrayType() && !T.isConstQualified() && !T.isVolatileQualified() && in buildSingleCopyAssign() 10274 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitCopyAssignment() [all …]
|
D | SemaStmt.cpp | 709 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum() 1807 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt() 2558 } else if (VariableType.isConstQualified()) { in DiagnoseForRangeVariableCopies()
|
D | Sema.cpp | 870 } else if (DiagD->getType().isConstQualified()) { in ActOnEndOfTranslationUnit()
|
D | SemaExprCXX.cpp | 3738 return T.isConstQualified(); in EvaluateUnaryTypeTrait() 3847 if (T.isConstQualified()) in EvaluateUnaryTypeTrait() 3925 if (C.getBaseElementType(T).isConstQualified()) in EvaluateUnaryTypeTrait()
|
D | SemaDecl.cpp | 6045 !NewVD->getType().isConstQualified()) { in ActOnVariableDeclarator() 9506 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl() 9573 !(Context.getBaseElementType(VDecl->getType()).isConstQualified() || in AddInitializerToDecl() 10011 if (var->getType().isConstQualified()) in CheckCompleteVariableDeclaration() 10574 if (!T.isConstQualified()) { in CheckParameter() 13091 else if (T.isConstQualified()) in CheckFieldDecl()
|
D | SemaChecking.cpp | 138 !PtrTy->getPointeeType().isConstQualified())) { in SemaBuiltinOverflow() 1700 if (AtomTy.isConstQualified()) { in SemaAtomicOpsOverloaded() 1707 if (ValType.isConstQualified()) { in SemaAtomicOpsOverloaded() 8445 if (!Param->getType().isConstQualified()) in CheckParmsForFunctionDef()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 507 if (pointeeTy.isConstQualified() || in GenOpenCLArgMetadata() 542 if (ty.isConstQualified()) in GenOpenCLArgMetadata()
|