Fix switch warning from 514e4359a

This commit is contained in:
Erich Keane 2023-03-21 08:52:08 -07:00
parent 9125996380
commit 67852bff58

View File

@ -7577,9 +7577,8 @@ const Attr *TreeTransform<Derived>::TransformAttr(const Attr *R) {
case attr::X: \
return getDerived().Transform##X##Attr(cast<X##Attr>(R));
#include "clang/Basic/AttrList.inc"
default:
return R;
}
return R;
}
template <typename Derived>
@ -7595,8 +7594,6 @@ const Attr *TreeTransform<Derived>::TransformStmtAttr(const Stmt *OrigS,
case attr::X: \
return getDerived().TransformStmt##X##Attr(OrigS, InstS, cast<X##Attr>(R));
#include "clang/Basic/AttrList.inc"
default:
return R;
}
return TransformAttr(R);
}