mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
Fix switch warning from 514e4359a
This commit is contained in:
parent
9125996380
commit
67852bff58
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user