/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 2806 varDecl(hasType(isConstQualified())))); in TEST() 2811 varDecl(hasType(isConstQualified())))); in TEST() 2816 varDecl(hasType(isConstQualified())))); in TEST() 2818 varDecl(hasType(isConstQualified())))); in TEST() 2823 varDecl(hasType(isConstQualified())))); in TEST() 2825 varDecl(hasType(isConstQualified())))); in TEST() 3909 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() 3912 qualType(isConstQualified(), arrayType()))); in TEST() 3916 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() 3919 qualType(arrayType(hasElementType(isConstQualified(), 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 | 158 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/include/clang/AST/ |
D | CanonicalType.h | 125 bool isConstQualified() const { in isConstQualified() function
|
D | Type.h | 627 bool isConstQualified() const; 4775 inline bool QualType::isConstQualified() const {
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 243 REGISTER_MATCHER(isConstQualified); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3165 AST_MATCHER(QualType, isConstQualified) { in AST_MATCHER() argument 3166 return Node.isConstQualified(); in AST_MATCHER()
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 606 if (CT.isConstQualified()) in IsModifiable()
|
D | DeclCXX.cpp | 558 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember() 904 if (T.isConstQualified()) in addedMember()
|
D | ExprConstant.cpp | 2279 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2315 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2339 bool WasConstQualified = ObjType.isConstQualified(); in findSubobject() 2398 if (QT.isConstQualified()) { in checkConst() 2586 if (!BaseType.isConstQualified()) { in findCompleteObject() 2595 } else if (BaseType->isFloatingType() && BaseType.isConstQualified()) { in findCompleteObject() 2644 if (!(BaseType.isConstQualified() && in findCompleteObject() 2780 if (QT.isConstQualified()) { in checkConst() 2895 if (QT.isConstQualified()) { in checkConst()
|
D | Decl.cpp | 593 Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl() 2051 if (!getType().isConstQualified() || getType().isVolatileQualified()) in isUsableInConstantExpressions()
|
D | Type.cpp | 67 if (T.isConstQualified()) in isConstant()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 3667 if (FieldBaseElementType.isConstQualified()) { in BuildImplicitMemberInitializer() 4875 (F->getType().isConstQualified() && F->getType()->isScalarType())) { in CheckCompletedCXXClass() 5259 HasConstParam = ReferentType.isConstQualified(); in CheckExplicitlyDefaultedSpecialMember() 5448 ConstArg = RT->getPointeeType().isConstQualified(); in SpecialMemberDeletionInfo() 5615 if (!inUnion() && FieldType.isConstQualified() && in shouldDeleteForField() 5624 if (inUnion() && !FieldType.isConstQualified()) in shouldDeleteForField() 5643 if (!FieldRecord && FieldType.isConstQualified()) { in shouldDeleteForField() 5663 if (!UnionFieldType.isConstQualified()) in shouldDeleteForField() 9913 if (T->isArrayType() && !T.isConstQualified() && !T.isVolatileQualified() && in buildSingleCopyAssign() 10235 if (!BaseType->getAs<RecordType>() && BaseType.isConstQualified()) { in DefineImplicitCopyAssignment() [all …]
|
D | SemaStmt.cpp | 708 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum() 1805 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt() 2512 } else if (VariableType.isConstQualified()) { in DiagnoseForRangeVariableCopies()
|
D | Sema.cpp | 831 } else if (DiagD->getType().isConstQualified()) { in ActOnEndOfTranslationUnit()
|
D | SemaExprCXX.cpp | 3446 return T.isConstQualified(); in EvaluateUnaryTypeTrait() 3558 if (T.isConstQualified()) in EvaluateUnaryTypeTrait() 3597 if (C.getBaseElementType(T).isConstQualified()) in EvaluateUnaryTypeTrait()
|
D | SemaDecl.cpp | 5784 !NewVD->getType().isConstQualified()) { in ActOnVariableDeclarator() 9079 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl() 9146 !(Context.getBaseElementType(VDecl->getType()).isConstQualified() || in AddInitializerToDecl() 9577 if (var->getType().isConstQualified()) in CheckCompleteVariableDeclaration() 10103 if (!T.isConstQualified()) { in CheckParameter() 12492 else if (T.isConstQualified()) in CheckFieldDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 449 if (pointeeTy.isConstQualified() || in GenOpenCLArgMetadata() 484 if (ty.isConstQualified()) in GenOpenCLArgMetadata()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 117 if (!PointeeTy.isConstQualified()) in isPointerToConst()
|
D | MemRegion.cpp | 786 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
|
D | BugReporterVisitors.cpp | 1622 if (T->getPointeeType().isConstQualified()) in VisitNode()
|