Searched refs:ToTy (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); local
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
H A DCastSizeChecker.cpp94 QualType ToTy = Ctx.getCanonicalType(CE->getType()); local
95 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
/external/clang/include/clang/AST/
H A DDeclBase.h1675 // Specialization selected when ToTy is not a known subclass of DeclContext.
1676 template <class ToTy,
1677 bool IsKnownSubtype = ::std::is_base_of<DeclContext, ToTy>::value>
1679 static const ToTy *doit(const DeclContext *Val) {
1680 return static_cast<const ToTy*>(Decl::castFromDeclContext(Val));
1683 static ToTy *doit(DeclContext *Val) {
1684 return static_cast<ToTy*>(Decl::castFromDeclContext(Val));
1688 // Specialization selected when ToTy is a known subclass of DeclContext.
1689 template <class ToTy>
1690 struct cast_convert_decl_context<ToTy, tru
[all...]
/external/clang/include/clang/Sema/
H A DSemaFixItUtils.h53 const CanQualType ToTy,
58 /// type FromTy can be converted to ToTy. For example, one could check if
H A DOverload.h358 void *ToTy;
373 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); }
380 void setToType(QualType T) { ToTy = T.getAsOpaquePtr(); }
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp372 static bool shouldBeModeledWithNoOp(ASTContext &Context, QualType ToTy, argument
374 while (Context.UnwrapSimilarPointerTypes(ToTy, FromTy)) {
376 ToTy = Context.getUnqualifiedArrayType(ToTy, Quals1);
389 if (ToTy->isVoidType())
392 if (ToTy != FromTy)
H A DSymbolManager.cpp62 os << '(' << ToTy.getAsString() << ") (";
/external/clang/lib/Sema/
H A DSemaFixItUtils.cpp53 const QualType ToTy,
59 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy);
51 tryToFixConversion(const Expr *FullExpr, const QualType FromTy, const QualType ToTy, Sema &S) argument
H A DSemaOverload.cpp8548 QualType ToTy = Conv.Bad.getToType(); local
8560 << ToTy << Name << I+1;
8568 CanQualType CToTy = S.Context.getCanonicalType(ToTy);
8640 << FromTy << ToTy << (unsigned) isObjectArgument << I+1;
8655 << FromTy << ToTy << (unsigned) isObjectArgument << I+1;
8663 if (const PointerType *ToPtrTy = ToTy->getAs<PointerType>()) {
8675 = ToTy->getAs<ObjCObjectPointerType>())
8682 } else if (const ReferenceType *ToRefTy = ToTy->getAs<ReferenceType>()) {
8688 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() &&
8689 ToTy
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h314 QualType ToTy; member in class:clang::ento::SymbolCast
318 SymExpr(CastSymbolKind), Operand(In), FromTy(From), ToTy(To) { }
320 QualType getType() const override { return ToTy; }
335 Profile(ID, Operand, FromTy, ToTy);

Completed in 423 milliseconds