| 1045 | //----------------------------------------------------------------------------- |
| 1046 | |
| 1047 | static const SubstTemplateTypeParmType* GetSubstTemplateTypeParmType(const Type* t) |
| 1048 | { |
| 1049 | if(const auto* substTemplateTypeParmType = dyn_cast_or_null<SubstTemplateTypeParmType>(t)) { |
| 1050 | return substTemplateTypeParmType; |
| 1051 | } else if(const auto& pointeeType = t->getPointeeType(); not pointeeType.isNull()) { |
| 1052 | return GetSubstTemplateTypeParmType(pointeeType.getTypePtrOrNull()); |
| 1053 | } |
| 1054 | |
| 1055 | return nullptr; |
| 1056 | } |
| 1057 | //----------------------------------------------------------------------------- |
| 1058 | |
| 1059 | static const DeclRefExpr* FindVarDeclRef(const Stmt* stmt) |
no outgoing calls
no test coverage detected