|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/ASTContext.h 2578 return T == getObjCIdType();
2582 return T == getObjCClassType();
2586 return T == getObjCSelType();
tools/clang/include/clang/AST/ASTTypeTraits.h 330 return getUnchecked<QualType>() == Other.getUnchecked<QualType>();
tools/clang/include/clang/AST/Type.h 1878 return CanonicalType == QualType(this, 0);
tools/clang/include/clang/AST/TypeLoc.h 199 assert(getType() == Other.getType());
207 assert(getType() == Other.getType());
tools/clang/include/clang/AST/TypeOrdering.h 53 return LHS == RHS;
tools/clang/include/clang/Serialization/ASTBitCodes.h 115 static bool isEqual(QualType A, QualType B) { return A == B; }
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h 28 return From == from && To == to;
28 return From == from && To == to;
35 return From == RHS.From && To == RHS.To;
35 return From == RHS.From && To == RHS.To;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h 37 return DynTy == RHS.DynTy && CanBeASubClass == RHS.CanBeASubClass;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 527 assert(FromTy == ToTy && "Range values have different types!");
625 if (LTy == RTy)
630 if ((LTy.getCanonicalType() == RTy.getCanonicalType()) ||
668 if (LTy == RTy)
744 if (LTy == RTy)
tools/clang/lib/ARCMigrate/ObjCMT.cpp 969 if (OM->getReturnType() == Ctx.getObjCInstanceType())
1069 if (OrigT == T || !T->isPointerType())
1307 OM->getReturnType() == Ctx.getObjCInstanceType() ||
tools/clang/lib/ARCMigrate/TransProperties.cpp 351 assert(ty == I->PropD->getType().getUnqualifiedType());
tools/clang/lib/AST/ASTContext.cpp 3441 if (QualType(canonElementType.Ty, 0) == elementType &&
3539 if (CanonVecTy == VecType) {
3612 if (CanonVecTy == vecType) {
3657 if (canonPointeeType == PointeeType &&
5192 if (elementType == unqualElementType) {
7939 return LHS->getElementType() == RHS->getElementType() &&
8864 if (LHSCan == RHSCan)
9227 if (LHSCan == RHSCan)
9240 if (ResReturnType == NewReturnType || ResReturnType == OldReturnType) {
9240 if (ResReturnType == NewReturnType || ResReturnType == OldReturnType) {
9287 if (ResQT == LHSBaseQT)
9289 if (ResQT == RHSBaseQT)
tools/clang/lib/AST/ASTDiagnostic.cpp 132 if (QualType(Ty,0) == Context.getObjCIdType() ||
133 QualType(Ty,0) == Context.getObjCClassType() ||
134 QualType(Ty,0) == Context.getObjCSelType() ||
135 QualType(Ty,0) == Context.getObjCProtoType())
139 if (QualType(Ty, 0) == Context.getBuiltinVaListType() ||
140 QualType(Ty, 0) == Context.getBuiltinMSVaListType())
246 if (CompareTy == Ty)
249 if (CompareCanTy == CanTy)
277 if (PrevTy == Ty) {
290 if (DesugaredTy == Ty) {
1625 FromType.getLocalUnqualifiedType() ==
tools/clang/lib/AST/Decl.cpp 2933 return (proto->getParamType(1).getCanonicalType() == Context.VoidPtrTy);
tools/clang/lib/AST/Expr.cpp 2305 return getType().getCanonicalType() ==
tools/clang/lib/AST/ExprClassification.cpp 45 if (TR->isFunctionType() || TR == Ctx.OverloadTy)
225 if (E->getType() == Ctx.UnknownAnyTy)
482 if (E->getType() == Ctx.UnknownAnyTy)
tools/clang/lib/AST/ExprObjC.cpp 299 if (QT == Ctx.getObjCInstanceType()) {
tools/clang/lib/AST/FormatString.cpp 379 if (T == argTy)
391 if (T == C.UnsignedShortTy || T == C.ShortTy)
391 if (T == C.UnsignedShortTy || T == C.ShortTy)
393 return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match
393 return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match
396 return T == C.UnsignedShortTy ? Match : NoMatch;
398 return T == C.ShortTy ? Match : NoMatch;
400 return T == C.UnsignedIntTy ? Match : NoMatch;
402 return T == C.IntTy ? Match : NoMatch;
404 return T == C.UnsignedLongTy ? Match : NoMatch;
406 return T == C.LongTy ? Match : NoMatch;
408 return T == C.UnsignedLongLongTy ? Match : NoMatch;
410 return T == C.LongLongTy ? Match : NoMatch;
441 return pointeeTy == C.getWideCharType() ? Match : NoMatch;
447 if (C.getCanonicalType(argTy).getUnqualifiedType() == WInt)
458 C.getCorrespondingUnsignedType(PromoArg) == WInt)
461 return WInt == PromoArg ? Match : NoMatch;
tools/clang/lib/AST/ItaniumMangle.cpp 2453 if (Desugared == T)
tools/clang/lib/AST/ODRHash.cpp 765 if (Pointer->getPointeeType() == Original) {
tools/clang/lib/AST/TemplateBase.cpp 354 return getIntegralType() == Other.getIntegralType() &&
tools/clang/lib/Analysis/BodyFarm.cpp 178 if (Arg->getType() == Ty)
614 assert(OldValueTy == NewValueTy);
tools/clang/lib/Analysis/CFG.cpp 2567 if (calleeType == Context->BoundMemberTy) {
tools/clang/lib/CodeGen/CGBlocks.cpp 582 assert(getCaptureFieldType(*CGF, CI) == variable->getType() &&
tools/clang/lib/CodeGen/CGDebugInfo.cpp 3487 if (ResultTy == CGM.getContext().getObjCInstanceType())
tools/clang/lib/CodeGen/CGExprScalar.cpp 1208 if (SrcType == DstType) return Src;
1653 if (SrcType == DstType) return Src;
3815 E->getType() == CGF.getContext().BoolTy)
tools/clang/lib/CodeGen/CGObjCGNU.cpp 2150 if (QualType() == selTy) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2818 if (ValTy == CastTy)
tools/clang/lib/CodeGen/TargetInfo.cpp 2711 } else if (ET == getContext().FloatTy) {
2713 } else if (ET == getContext().DoubleTy) {
2715 } else if (ET == getContext().LongDoubleTy) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 548 if (OCT == Context->getCanonicalType(Context->getObjCIdType()) ||
549 OCT == Context->getCanonicalType(Context->getObjCClassType()))
577 if (result == Context->getObjCInstanceType())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 455 if (OCT == Context->getCanonicalType(Context->getObjCIdType()) ||
456 OCT == Context->getCanonicalType(Context->getObjCClassType()))
483 if (result == Context->getObjCInstanceType())
1852 if (t == Context->getObjCIdType()) {
tools/clang/lib/Sema/Sema.cpp 532 if (ExprTy == TypeTy)
1937 if (E.getType() == Context.OverloadTy) {
1945 } else if (E.getType() == Context.BoundMemberTy) {
tools/clang/lib/Sema/SemaCast.cpp 994 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) {
1060 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) {
1541 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) {
2028 if (SrcType == Self.Context.OverloadTy) {
2171 if (SrcType == DestType) {
2513 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) {
2605 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) {
tools/clang/lib/Sema/SemaChecking.cpp 8255 if (TrueTy == FalseTy)
8277 S.Context.getPromotedIntegerType(From) == To)
8342 if (ICE->getType() == S.Context.IntTy ||
8343 ICE->getType() == S.Context.UnsignedIntTy) {
8358 if (ExprTy == S.Context.IntTy)
8395 if (TD->getUnderlyingType() == IntendedTy)
8432 if (IntendedTy == ExprTy && !ShouldNotPrintDirectly) {
9705 if (PointeeTy == QualType())
12012 if (E->getType() == T) return;
tools/clang/lib/Sema/SemaDecl.cpp 7692 if (FixedTInfo && T == NewVD->getTypeSourceInfo()->getType())
10697 else if (Expected[i] == CharPP) {
11194 Init->getType() == Context.UnknownAnyTy && !IsInitCapture) {
11678 Init->getType() == Context.UnknownAnyTy) {
17400 AllElementsInt = ECD->getType() == Context.IntTy;
17524 } else if (ECD->getType() == BestType) {
tools/clang/lib/Sema/SemaDeclAttr.cpp 3051 if (ULE->getType() == S.Context.OverloadTy)
tools/clang/lib/Sema/SemaDeclCXX.cpp 8677 if (Proto->getReturnType() == Context.VoidTy && !D.isInvalidType())
8709 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) {
9095 if (ConvType == ClassType)
tools/clang/lib/Sema/SemaDeclObjC.cpp 4567 HasRelatedResultType = (bareResultType == Context.getObjCInstanceType());
tools/clang/lib/Sema/SemaExpr.cpp 573 (E->getType() == Context.OverloadTy ||
1123 bool Float128AndLongDouble = (LHSElemType == S.Context.Float128Ty &&
1124 RHSElemType == S.Context.LongDoubleTy);
1125 Float128AndLongDouble |= (LHSElemType == S.Context.LongDoubleTy &&
1126 RHSElemType == S.Context.Float128Ty);
1362 if (LHSType == RHSType)
1381 if (LHSType == RHSType)
3120 if (fty->getReturnType() == Context.UnknownAnyTy) {
3160 if (proto->getReturnType() == Context.UnknownAnyTy) {
3578 if (Ty == Context.DoubleTy) {
4948 } else if (Fn && Fn->getType() == Context.BoundMemberTy)
5166 if (Arg->getType() == Context.ARCUnbridgedCastTy &&
5220 if (Proto->getReturnType() == Context.UnknownAnyTy && FDecl &&
5634 if (Fn->getType() == Context.PseudoObjectTy) {
5663 if (Fn->getType() == Context.UnknownAnyTy) {
5669 if (Fn->getType() == Context.BoundMemberTy) {
5676 if (Fn->getType() == Context.OverloadTy) {
5695 if (Fn->getType() == Context.UnknownAnyTy) {
5851 if (Fn->getType() == Context.UnknownAnyTy) {
6584 if (DestElemTy == SplattedExpr->getType())
7174 if (LHSType == RHSType)
7983 if (ltrans == rtrans) {
8137 return VT->getElementType() == ElementType;
8170 if (LHSType == RHSType) {
8422 if (LHSType == Context.BoolTy) {
8439 if (LHSType == Context.BoolTy) {
8602 } else if (RHS.get()->getType() == Context.OverloadTy) {
8834 if (ICE->getSubExpr()->getType() == NewVecTy)
10634 if (T == Context.CharTy)
14280 } else if (FTy->getReturnType() == RetTy &&
14829 if (SecondType == Context.OverloadTy)
17519 if (CalleeType == S.Context.BoundMemberTy) {
17627 assert(Method->getReturnType() == S.Context.UnknownAnyTy);
tools/clang/lib/Sema/SemaExprCXX.cpp 6380 if (T == Context.BoundMemberTy) {
7959 FullExpr.get()->getType() == Context.UnknownAnyTy) {
tools/clang/lib/Sema/SemaExprMember.cpp 423 if ((*I)->getUnderlyingType() == VT)
tools/clang/lib/Sema/SemaExprObjC.cpp 1282 if (T == Context.getObjCInstanceType()) {
1292 if (T == Context.getObjCInstanceType())
1390 if (T == Context.getObjCInstanceType()) {
1467 if (MD->getReturnType() == instancetype)
1679 if (param->getType() == Context.UnknownAnyTy) {
2706 if (Receiver->getType() == Context.UnknownAnyTy)
tools/clang/lib/Sema/SemaInit.cpp 5909 } else if (Initializer->getType() == Context.OverloadTy &&
tools/clang/lib/Sema/SemaOverload.cpp 1306 (FromCanon == ToCanon ||
1652 if (FromType == S.Context.OverloadTy) {
1821 bool Float128AndLongDouble = ((FromType == S.Context.Float128Ty &&
1822 ToType == S.Context.LongDoubleTy) ||
1823 (FromType == S.Context.LongDoubleTy &&
1824 ToType == S.Context.Float128Ty));
1917 == CanonTo.getLocalUnqualifiedType() &&
1925 if (CanonFrom == CanonTo)
3133 if (FromType.getUnqualifiedType() == ToType.getUnqualifiedType())
3961 if (UnqualT1 == UnqualT2) {
4059 if (UnqualT1 == UnqualT2)
4192 if (FromPointee1 == FromPointee2 && ToPointee1 != ToPointee2) {
4200 if (FromPointee1 != FromPointee2 && ToPointee1 == ToPointee2) {
4313 if (FromPointee1 == FromPointee2 && ToPointee1 != ToPointee2) {
4320 if (ToPointee1 == ToPointee2 && FromPointee1 != FromPointee2) {
4398 if (UnqualT1 == UnqualT2) {
5238 if (ClassTypeCanon == FromTypeCanon.getLocalUnqualifiedType()) {
6333 if (param->getType() == Context.UnknownAnyTy) {
7121 if (FromCanon == ToCanon ||
7513 assert(ParamTys[ArgIdx] == Context.BoolTy &&
9871 assert(OverloadedExpr->getType() == Context.OverloadTy);
9942 if (FromTy == S.Context.OverloadTy) {
10091 ToTy.getNonReferenceType().getCanonicalType() ==
11706 assert(AddressOfExpr->getType() == Context.OverloadTy);
11786 assert(E->getType() == Context.OverloadTy && "SrcExpr must be an overload");
11906 assert(SrcExpr.get()->getType() == Context.OverloadTy);
13308 assert(MemExprE->getType() == Context.BoundMemberTy ||
13309 MemExprE->getType() == Context.OverloadTy);
13317 assert(op->getType() == Context.BoundMemberTy);
tools/clang/lib/Sema/SemaStmt.cpp 359 if (T == Context.VoidPtrTy) {
3991 return LHS.QT == RHS.QT;
tools/clang/lib/Sema/SemaTemplate.cpp 6756 if (Arg->getType() == Context.OverloadTy) {
6808 if (Arg->getType() == Context.OverloadTy) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 1514 return Param == Arg? Sema::TDK_Success : Sema::TDK_NonDeducedMismatch;
3600 if (ArgType == S.Context.OverloadTy) {
tools/clang/lib/Sema/SemaType.cpp 1180 if (Result == T)
1237 if (ObjCObjectTL.getType() == T)
tools/clang/lib/Sema/TreeTransform.h 6579 if (NewTypeArg == TypeArg) {
10116 T == E->getType())
10541 if (!getDerived().AlwaysRebuild() && T == E->getType()) {
10984 if (To == From->getType())
11271 T == E->getType() &&
11300 T == E->getType() &&
11842 BaseType == E->getBaseType() &&
tools/clang/lib/Sema/TypeLocBuilder.cpp 65 assert(TLast == LastTy &&
tools/clang/lib/Sema/TypeLocBuilder.h 103 assert(T == LastTy && "type doesn't match last type pushed!");
116 assert(T == LastTy && "type doesn't match last type pushed!");
140 assert(LastTy == T && "type doesn't match last type pushed!");
tools/clang/lib/Serialization/ASTCommon.h 65 if (T == Context.AutoDeductTy)
67 if (T == Context.AutoRRefDeductTy)
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 935 assert(ER->getValueType() == C.getASTContext().CharTy &&
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp 189 bool CastSucceeds = IsCheckedCast || CastFromTy == CastToTy;
204 bool IsKnownCast = CastInfo || IsCheckedCast || CastFromTy == CastToTy;
238 CastSucceeds = IsInstanceOf || CastFromTy == CastToTy;
246 bool IsKnownCast = CastInfo || CastFromTy == CastToTy;
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp 102 TrackedTypePrev.getType() == TrackedType.getType())
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp 689 if (StaticResultType == C.getObjCInstanceType())
tools/clang/lib/StaticAnalyzer/Checkers/GTestChecker.cpp 223 if (ParamCount == 1 && CtorDecl->getParamDecl(0)->getType() == BoolTy) {
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp 689 if (PtrTy && PtrTy->getPointeeType().getCanonicalType() ==
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp 364 return CastExpr1->getTypeAsWritten() == CastExpr2->getTypeAsWritten();
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h 223 return T == X.T && hasSameState(X) && getObjKind() == X.getObjKind();
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 263 if (PointeeTy == QualType())
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 1795 assert(SE->getType() == getContext().VoidTy
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp 953 assert (U->getType() == Ex->getType());
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp 134 if (ExpectedTy == ActualTy)
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp 528 if (val.isUnknownOrUndef() || castTy == originalTy)
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 380 assert(SymTy == RSym->getType() &&
440 return Sym->getType() == Ty &&
702 resultTy == getConditionType());
1024 LeftER->getElementType() == RightER->getElementType()) {
tools/clang/lib/StaticAnalyzer/Core/Store.cpp 100 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy)
107 if (CanonPointeeTy == ObjTy)
181 if (CanonPointeeTy == ObjTy)
tools/clang/tools/extra/clang-tidy/bugprone/SwappedArgumentsCheck.cpp 80 if (LHS->getType() == RHS->getType() ||
tools/clang/tools/extra/clang-tidy/bugprone/VirtualNearMissCheck.cpp 155 if (BaseMD->getType() == DerivedMD->getType())
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 55 return T1.getUnqualifiedType() == T2.getUnqualifiedType();
98 if (SourceTypeAsWritten == DestTypeAsWritten) {
173 if (SourceType == DestType) {
190 if (Source == Dest.withConst() ||
191 SourceType.getNonReferenceType() == DestType.getNonReferenceType()) {
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 120 return cast<ExplicitCastExpr>(Left)->getTypeAsWritten() ==
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 400 Cast->getType() == E->getType().withConst()) ||
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 106 if (NewQT == QT)
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp 337 else if (target_type == ast_ctx.UnknownAnyTy)
354 else if (target_type == ast_ctx.UnknownAnyTy)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 970 if (method_decl->getType() ==
usr/include/c++/7.4.0/bits/predefined_ops.h 241 { return *__it == _M_value; }
usr/include/c++/7.4.0/bits/stl_algobase.h 800 if (!(*__first1 == *__first2))
utils/unittest/googletest/include/gtest/gtest.h 1392 if (lhs == rhs) {