|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/Type.h 1989 bool isAnyPointerType() const; // Any C pointer or ObjC object pointer
References
tools/clang/include/clang/AST/Type.h 6807 if (type->isAnyPointerType())
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 3348 return (!Node.isNull() && Node->isAnyPointerType() &&
5089 return Node->isAnyPointerType();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 774 assert(s->getType()->isAnyPointerType() ||
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 267 (FromTy->isAnyPointerType() ^ ToTy->isAnyPointerType()) ||
267 (FromTy->isAnyPointerType() ^ ToTy->isAnyPointerType()) ||
363 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) {
363 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) {
484 if (Ty->isIntegralOrEnumerationType() || Ty->isAnyPointerType() ||
588 if ((LTy->isAnyPointerType() || RTy->isAnyPointerType()) ||
588 if ((LTy->isAnyPointerType() || RTy->isAnyPointerType()) ||
599 if ((LTy->isAnyPointerType() ^ RTy->isAnyPointerType()) ||
599 if ((LTy->isAnyPointerType() ^ RTy->isAnyPointerType()) ||
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h 330 return T->isAnyPointerType() || T->isBlockPointerType() ||
tools/clang/lib/ARCMigrate/ObjCMT.cpp 1058 if (!T->isAnyPointerType())
1384 if (!AT->isAnyPointerType() && !AT->isBlockPointerType())
tools/clang/lib/AST/ASTContext.cpp 2587 if (E->getType()->isAnyPointerType() &&
2792 if (Pointee->isAnyPointerType()) {
7924 assert(CT->isAnyPointerType() || CT->isBlockPointerType());
tools/clang/lib/AST/Expr.cpp 1796 assert(getSubExpr()->getType()->isAnyPointerType() &&
4667 if (OriginalTy->isAnyPointerType())
tools/clang/lib/AST/ExprCXX.cpp 750 if (ThisArg->getType()->isAnyPointerType())
tools/clang/lib/AST/MicrosoftMangle.cpp 1898 bool IsPointer = T->isAnyPointerType() || T->isMemberPointerType() ||
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp 325 if (VD && VD->getType()->isAnyPointerType())
tools/clang/lib/Analysis/UninitializedValues.cpp 465 return QT->isAnyPointerType() && QT->getPointeeType().isConstQualified();
tools/clang/lib/CodeGen/CGCall.cpp 2193 if (!ArgType->isAnyPointerType() && !ArgType->isBlockPointerType())
tools/clang/lib/CodeGen/CGObjCGNU.cpp 2645 bool isPointerSizedReturn = (ResultType->isAnyPointerType() ||
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 7535 if (Ty->isAnyPointerType() && std::next(I) != CE) {
7598 ->isAnyPointerType()) ||
7599 I->getAssociatedExpression()->getType()->isAnyPointerType();
7767 if (Cap.getCapturedVar()->getType()->isAnyPointerType())
8486 if (!RI.getType()->isAnyPointerType()) {
8528 if (I != FirstPrivateDecls.end() && ElementType->isAnyPointerType()) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 344 !FD->getType()->isAnyPointerType()))
4643 !CI->getCapturedVar()->getType()->isAnyPointerType()) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 304 if (!CurField->getType()->isAnyPointerType()) {
426 ((I->capturesVariableByCopy() && !ArgType->isAnyPointerType()) ||
496 if (I->capturesVariableByCopy() && FD->getType()->isAnyPointerType()) {
534 assert(!FD->getType()->isAnyPointerType() &&
tools/clang/lib/CodeGen/CodeGenTypes.cpp 793 assert((T->isAnyPointerType() || T->isBlockPointerType()) && "Invalid type");
tools/clang/lib/Frontend/ASTUnit.cpp 2089 Context.getPreferredType()->isAnyPointerType());
tools/clang/lib/Sema/SemaCast.cpp 517 if (T->isAnyPointerType()) return Ptr;
603 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() ||
606 assert((DestType->isAnyPointerType() || DestType->isMemberPointerType() ||
2183 SrcType->isAnyPointerType() ||
2191 bool destIsPtr = DestType->isAnyPointerType() ||
2193 bool srcIsPtr = SrcType->isAnyPointerType() ||
2558 if ((SrcType->isAnyPointerType() || SrcType->isBlockPointerType())
2559 && (DestType->isAnyPointerType() || DestType->isBlockPointerType()))
2850 if (!((SrcType->isAnyPointerType() && DestType->isAnyPointerType()) ||
2850 if (!((SrcType->isAnyPointerType() && DestType->isAnyPointerType()) ||
tools/clang/lib/Sema/SemaChecking.cpp 1794 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
5057 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
5431 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
6355 if (!FirstArgType->isAnyPointerType())
6382 if (!FirstArgType->isAnyPointerType())
6404 if (!FirstArgType->isAnyPointerType())
6426 if (!FirstArgType->isAnyPointerType())
6455 if (!ArgTypeA->isAnyPointerType() && !isNull(ArgA))
6459 if (!ArgTypeB->isAnyPointerType() && !isNull(ArgB))
6464 if (ArgTypeA->isAnyPointerType() && !isNull(ArgA) &&
6465 ArgTypeB->isAnyPointerType() && !isNull(ArgB)) {
6478 if (!ArgTypeA->isAnyPointerType() && !ArgTypeB->isAnyPointerType())
6478 if (!ArgTypeA->isAnyPointerType() && !ArgTypeB->isAnyPointerType())
11315 if (T->isAnyPointerType() || T->isBlockPointerType() ||
tools/clang/lib/Sema/SemaCodeComplete.cpp 4370 PreferredTypeIsPointer = Data.PreferredType->isAnyPointerType() ||
tools/clang/lib/Sema/SemaDecl.cpp10550 else if (T->isAnyPointerType())
10739 FT->getReturnType()->isAnyPointerType() ||
tools/clang/lib/Sema/SemaDeclAttr.cpp 505 if (QT->isAnyPointerType())
1422 if (QT->isAnyPointerType() || QT->isBlockPointerType())
1428 return T->isAnyPointerType() || T->isBlockPointerType();
1693 if (!T->isAnyPointerType() && !T->isBlockPointerType())
1872 if (ResultType->isAnyPointerType() || ResultType->isBlockPointerType()) {
3586 if (!T->isDependentType() && !T->isAnyPointerType() &&
tools/clang/lib/Sema/SemaExpr.cpp 4508 if (OriginalTy->isAnyPointerType()) {
4561 if (LowerBound && !OriginalTy->isAnyPointerType()) {
6909 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) ||
7741 if (!ResTy->isAnyPointerType())
9198 if (LHSNull == RHSNull || NonNullType->isAnyPointerType() ||
9354 assert(LHS->getType()->isAnyPointerType());
9355 assert(RHS->getType()->isAnyPointerType());
9370 assert(Pointer->getType()->isAnyPointerType());
9388 assert(ResType->isAnyPointerType() && !ResType->isDependentType());
9409 if (!ResType->isAnyPointerType()) return true;
9437 bool isLHSPointer = LHSExpr->getType()->isAnyPointerType();
9438 bool isRHSPointer = RHSExpr->getType()->isAnyPointerType();
9537 if (!StringType->isAnyPointerType())
9573 assert(LHSExpr->getType()->isAnyPointerType());
9574 assert(RHSExpr->getType()->isAnyPointerType());
9631 assert(PExp->getType()->isAnyPointerType());
9703 if (LHS.get()->getType()->isAnyPointerType()) {
10080 if ((LHSType->isAnyPointerType() || LHSType->isMemberPointerType()) &&
10081 (RHSType->isAnyPointerType() || RHSType->isMemberPointerType()))
10618 if (!NullE.get()->getType()->isAnyPointerType())
10621 if (!E.get()->getType()->isAnyPointerType() &&
11009 if ((LHSType->isAnyPointerType() && RHSType->isIntegerType()) ||
11010 (LHSType->isIntegerType() && RHSType->isAnyPointerType())) {
tools/clang/lib/Sema/SemaExprCXX.cpp 6122 bool T1IsPointerLike = T1->isAnyPointerType() || T1->isMemberPointerType() ||
6124 bool T2IsPointerLike = T2->isAnyPointerType() || T2->isMemberPointerType() ||
tools/clang/lib/Sema/SemaLookup.cpp 5226 if (ValType->isAnyPointerType() || ValType->isReferenceType())
tools/clang/lib/Sema/SemaOpenMP.cpp 1839 !Ty->isAnyPointerType()) ||
6273 if (!VarType->isAnyPointerType() &&
6277 } else if (VarType->isAnyPointerType() &&
12070 if (!Type->isAnyPointerType() && Type->isVariablyModifiedType() &&
12356 if (!Type->isAnyPointerType() && Type->isVariablyModifiedType() &&
14259 if (!Type->isAnyPointerType() && Type->isVariablyModifiedType()) {
14758 if (!E->getType()->isAnyPointerType() && !E->getType()->isArrayType()) {
14802 bool IsPointer = CurType->isAnyPointerType();
14962 if (Type.isNull() || Type->isAnyPointerType() ||
15014 if (DerivedType->isAnyPointerType()) {
15058 ->isAnyPointerType()) {
tools/clang/lib/Sema/SemaOverload.cpp 251 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType())
1794 FromType->isAnyPointerType() ||
2927 if (Diagnose && !IsCStyleOrFunctionalCast && !FromType->isAnyPointerType() &&
7676 (!(PointeeTy->isAnyPointerType() || PointeeTy->isReferenceType()))))
8003 if (HasRestrict && CandidateTy->isAnyPointerType() &&
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 3240 if ((A->isAnyPointerType() || A->isMemberPointerType()) &&
tools/clang/lib/Sema/SemaType.cpp 1784 if (T->isAnyPointerType() || T->isReferenceType() ||
6628 if (pointeeType->isAnyPointerType() ||
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp 33 if (Derived->isAnyPointerType() && Ancestor->isAnyPointerType())
33 if (Derived->isAnyPointerType() && Ancestor->isAnyPointerType())
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 528 if (!RetExpr->getType()->isAnyPointerType())
664 if (!Param->getType()->isAnyPointerType() &&
754 if (!ReturnType->isAnyPointerType())
822 if (!RetType->isAnyPointerType())
935 if (!OriginType->isAnyPointerType())
937 if (!DestType->isAnyPointerType())
1061 if (!LocType->isAnyPointerType())
tools/clang/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp 159 if (!ExprRetType->isAnyPointerType())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h 331 return T->isAnyPointerType() || T->isReferenceType();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 750 Sep = DR->getValueType()->isAnyPointerType() ? "->" : ".";
2791 if (!(T->isAnyPointerType() || T->isReferenceType())) {
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 106 if (T->isAnyPointerType() || T->isReferenceType())
267 if (PointeeTy->isAnyPointerType())
tools/clang/lib/StaticAnalyzer/Core/DynamicType.cpp 100 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) &&
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp 1106 if (U->getType()->isAnyPointerType())
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 2190 if (T->isAnyPointerType() || T->isReferenceType())
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 1192 if (resultTy->isAnyPointerType())
tools/clang/lib/Tooling/Transformer/Stencil.cpp 208 E->getType()->isAnyPointerType()
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp 79 } else if (TypePtr->isAnyPointerType()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 499 if (Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_ConstantPointerParameter])
512 if (!Type.isNull() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_PointerParameter])
531 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_GlobalConstantPointer])
540 if (Decl->isLocalVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_LocalConstantPointer])
556 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_GlobalPointer])
565 if (Decl->isLocalVarDecl() && Type.getTypePtr()->isAnyPointerType() && NamingStyles[SK_LocalPointer])
tools/lldb/source/Symbol/ClangASTContext.cpp 4184 if (qual_type->isAnyPointerType()) {