Home
last modified time | relevance | path

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

12

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp462 {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/
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.cpp165 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/lib/StaticAnalyzer/Core/
DCallEvent.cpp80 if (PointeeTy.isConstQualified()) in isVoidPointerToNonConst()
135 if (!PointeeTy.isConstQualified()) in isPointerToConst()
DMemRegion.cpp786 if (GT && GQT.isConstQualified() && GT->isArithmeticType()) in getVarRegion()
DBugReporterVisitors.cpp1621 if (T->getPointeeType().isConstQualified()) in VisitNode()
/external/clang/include/clang/AST/
DCanonicalType.h125 bool isConstQualified() const { in isConstQualified() function
DType.h654 bool isConstQualified() const;
5112 inline bool QualType::isConstQualified() const {
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp268 REGISTER_MATCHER(isConstQualified); in RegistryMaps()
/external/clang/lib/AST/
DExprClassification.cpp614 if (CT.isConstQualified()) in IsModifiable()
DDeclCXX.cpp552 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
898 if (T.isConstQualified()) in addedMember()
DExprConstant.cpp2365 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()
DDecl.cpp598 Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl()
2082 if (!getType().isConstQualified() || getType().isVolatileQualified()) in isUsableInConstantExpressions()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3565 AST_MATCHER(QualType, isConstQualified) { in AST_MATCHER() argument
3566 return Node.isConstQualified(); in AST_MATCHER()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3651 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 …]
DSemaStmt.cpp709 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1807 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt()
2558 } else if (VariableType.isConstQualified()) { in DiagnoseForRangeVariableCopies()
DSema.cpp870 } else if (DiagD->getType().isConstQualified()) { in ActOnEndOfTranslationUnit()
DSemaExprCXX.cpp3738 return T.isConstQualified(); in EvaluateUnaryTypeTrait()
3847 if (T.isConstQualified()) in EvaluateUnaryTypeTrait()
3925 if (C.getBaseElementType(T).isConstQualified()) in EvaluateUnaryTypeTrait()
DSemaDecl.cpp6045 !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()
DSemaChecking.cpp138 !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/
DCodeGenFunction.cpp507 if (pointeeTy.isConstQualified() || in GenOpenCLArgMetadata()
542 if (ty.isConstQualified()) in GenOpenCLArgMetadata()

12