forked from OSchip/llvm-project
Remove unused `signature()` from `OpMethod` class (private to mlir-tblgen) (NFC)
-- PiperOrigin-RevId: 247672280
This commit is contained in:
parent
e68a4caebe
commit
8a34566515
|
@ -148,7 +148,6 @@ public:
|
|||
OpMethod(StringRef retType, StringRef name, StringRef params,
|
||||
Property property, bool declOnly);
|
||||
|
||||
OpMethodSignature &signature();
|
||||
OpMethodBody &body();
|
||||
|
||||
// Returns true if this is a static method.
|
||||
|
@ -263,8 +262,6 @@ OpMethod::OpMethod(StringRef retType, StringRef name, StringRef params,
|
|||
: properties(property), isDeclOnly(declOnly),
|
||||
methodSignature(retType, name, params), methodBody(declOnly) {}
|
||||
|
||||
OpMethodSignature &OpMethod::signature() { return methodSignature; }
|
||||
|
||||
OpMethodBody &OpMethod::body() { return methodBody; }
|
||||
|
||||
bool OpMethod::isStatic() const { return properties & MP_Static; }
|
||||
|
|
Loading…
Reference in New Issue