|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/Casting.h 58 return To::classof(&Val);
77 return isa_impl<To, From>::doit(Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
168 using ret_type = const To &; // Normal case, return Ty&
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
331 typename cast_retty<X, const Y>::ret_type>::type
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h 77 class CallEventRef : public IntrusiveRefCntPtr<const T> {
79 CallEventRef(const T *Call) : IntrusiveRefCntPtr<const T>(Call) {}
82 CallEventRef<T> cloneWithState(ProgramStateRef State) const {
834 CXXConstructorCall(const CXXConstructorCall &Other) = default;
836 void cloneTo(void *Dest) const override { new (Dest) CXXConstructorCall(*this); }
1176 T *create(Arg1 A1, Arg2 A2, ProgramStateRef St, const LocationContext *LCtx) {
1177 static_assert(sizeof(T) == sizeof(CallEventTemplateTy),
1179 return new (allocate()) T(A1, A2, St, LCtx);
1222 CallEventRef<CXXConstructorCall>
1225 return create<CXXConstructorCall>(E, Target, State, LCtx);
tools/clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp 110 if (const auto *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
110 if (const auto *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp 146 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
146 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
236 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
236 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
tools/clang/lib/StaticAnalyzer/Checkers/GTestChecker.cpp 103 void modelAssertionResultBoolConstructor(const CXXConstructorCall *Call,
106 void modelAssertionResultCopyConstructor(const CXXConstructorCall *Call,
131 const CXXConstructorCall *Call, bool IsRef, CheckerContext &C) const {
160 const CXXConstructorCall *Call, CheckerContext &C) const {
189 auto *CtorCall = dyn_cast<CXXConstructorCall>(&Call);
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp 478 } else if (isa<CXXConstructorCall>(&Call)) {
721 if (isa<CXXConstructorCall>(&Call) && Call.getNumArgs() == 1) {
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp 468 const auto *CC = dyn_cast_or_null<CXXConstructorCall>(&Call);
468 const auto *CC = dyn_cast_or_null<CXXConstructorCall>(&Call);
609 if (const auto *CC = dyn_cast<CXXConstructorCall>(&Call)) {
609 if (const auto *CC = dyn_cast<CXXConstructorCall>(&Call)) {
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 573 if (const auto *CCall = dyn_cast<CXXConstructorCall>(Call)) {
573 if (const auto *CCall = dyn_cast<CXXConstructorCall>(Call)) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp 45 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
45 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
498 CallEventRef<CXXConstructorCall> Call =
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp 619 } else if (const CXXConstructorCall *C = dyn_cast<CXXConstructorCall>(&Call)){
619 } else if (const CXXConstructorCall *C = dyn_cast<CXXConstructorCall>(&Call)){
701 const CXXConstructorCall &Ctor = cast<CXXConstructorCall>(Call);
701 const CXXConstructorCall &Ctor = cast<CXXConstructorCall>(Call);