Home
last modified time | relevance | path

Searched defs:CastInfo (Results 1 – 2 of 2) sorted by relevance

/llvm-project/llvm/unittests/Support/
H A DCasting.cpp89 template <> struct CastInfo<T2, T1> : public OptionalValueCast<T2, T1> {}; struct
99 template <> struct CastInfo<T3, T1 *> : public ValueFromPointerCast<T3, T1> {}; struct
115 template <> struct CastInfo<T4, T3> { struct
116 using CastResultType = T4;
117 static inline CastResultType doCast(const T3 &t) { return T4(t); } in doCast()
118 static inline CastResultType castFailed() { return CastResultType(); } in castFailed()
119 static inline CastResultType doCastIfPossible(const T3 &f) { in doCastIfPossible()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp97 static bool isInfeasibleCast(const DynamicCastInfo *CastInfo, in isInfeasibleCast()
106 const DynamicCastInfo *CastInfo, in getNoteTag()
228 const DynamicCastInfo *CastInfo = in addCastTransition() local
297 const DynamicCastInfo *CastInfo = in addInstanceOfTransition() local