Home
last modified time | relevance | path

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

12

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2806 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/
DGenericTaintChecker.cpp491 if ((!PType.isNull() && !PType.isConstQualified()) in process()
492 || (ArgTy->isReferenceType() && !Arg->getType().isConstQualified())) in process()
DDeadStoresChecker.cpp368 VD->getType().isConstQualified()) in observeStmt()
DCallAndMessageChecker.cpp158 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
/external/clang/lib/Analysis/
DUninitializedValues.cpp437 return QT->isAnyPointerType() && QT->getPointeeType().isConstQualified(); in isPointerToConst()
460 if ((*I)->getType().isConstQualified()) in VisitCallExpr()
DFormatString.cpp268 if (PT->getPointeeType().isConstQualified()) in matchesType()
DConsumed.cpp649 (!ParamType->getPointeeType().isConstQualified() || in handleCall()
/external/clang/include/clang/AST/
DCanonicalType.h125 bool isConstQualified() const { in isConstQualified() function
DType.h627 bool isConstQualified() const;
4775 inline bool QualType::isConstQualified() const {
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp243 REGISTER_MATCHER(isConstQualified); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3165 AST_MATCHER(QualType, isConstQualified) { in AST_MATCHER() argument
3166 return Node.isConstQualified(); in AST_MATCHER()
/external/clang/lib/AST/
DExprClassification.cpp606 if (CT.isConstQualified()) in IsModifiable()
DDeclCXX.cpp558 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
904 if (T.isConstQualified()) in addedMember()
DExprConstant.cpp2279 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()
DDecl.cpp593 Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl()
2051 if (!getType().isConstQualified() || getType().isVolatileQualified()) in isUsableInConstantExpressions()
DType.cpp67 if (T.isConstQualified()) in isConstant()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3667 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 …]
DSemaStmt.cpp708 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1805 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt()
2512 } else if (VariableType.isConstQualified()) { in DiagnoseForRangeVariableCopies()
DSema.cpp831 } else if (DiagD->getType().isConstQualified()) { in ActOnEndOfTranslationUnit()
DSemaExprCXX.cpp3446 return T.isConstQualified(); in EvaluateUnaryTypeTrait()
3558 if (T.isConstQualified()) in EvaluateUnaryTypeTrait()
3597 if (C.getBaseElementType(T).isConstQualified()) in EvaluateUnaryTypeTrait()
DSemaDecl.cpp5784 !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/
DCodeGenFunction.cpp449 if (pointeeTy.isConstQualified() || in GenOpenCLArgMetadata()
484 if (ty.isConstQualified()) in GenOpenCLArgMetadata()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp117 if (!PointeeTy.isConstQualified()) in isPointerToConst()
DMemRegion.cpp786 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
DBugReporterVisitors.cpp1622 if (T->getPointeeType().isConstQualified()) in VisitNode()

12