reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  928 class VarRegion : public DeclRegion {
 1005 class FieldRegion : public DeclRegion {
 1038 class ObjCIvarRegion : public DeclRegion {

References

include/llvm/Support/Casting.h
   58     return To::classof(&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,
  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;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  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/MemRegion.h
  928 class VarRegion : public DeclRegion {
  944     DeclRegion::ProfileRegion(ID, VD, superRegion, VarRegionKind);
 1005 class FieldRegion : public DeclRegion {
 1013     DeclRegion::ProfileRegion(ID, FD, superRegion, FieldRegionKind);
 1038 class ObjCIvarRegion : public DeclRegion {
 1228 const RegionTy* MemRegion::getAs() const {
 1229   if (const auto *RT = dyn_cast<RegionTy>(this))
 1229   if (const auto *RT = dyn_cast<RegionTy>(this))
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  679   const DeclRegion *DeclReg = dyn_cast_or_null<DeclRegion>(Sm->getRegion());
  679   const DeclRegion *DeclReg = dyn_cast_or_null<DeclRegion>(Sm->getRegion());
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  580           dyn_cast_or_null<DeclRegion>(unwrapRValueReferenceIndirection(MR))) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
  418   if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts()))
  418   if (const DeclRegion *DR = dyn_cast<DeclRegion>(MRV.stripCasts()))
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  833   auto *Region = dyn_cast<DeclRegion>(sym->getOriginRegion());
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  176   if (const auto *DeclReg = Reg->getAs<DeclRegion>()) {
  176   if (const auto *DeclReg = Reg->getAs<DeclRegion>()) {
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  746     if (!isa<DeclRegion>(R))
  749     const auto *DR = cast<DeclRegion>(R);
  749     const auto *DR = cast<DeclRegion>(R);
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  305   DeclRegion::ProfileRegion(ID, ivd, superRegion, ObjCIvarRegionKind);
  316   DeclRegion::ProfileRegion(ID, D, superRegion, getKind());