Remove unused PassID member from PassRegistry (NFC)

Fix clang warning

--

PiperOrigin-RevId: 247558931
This commit is contained in:
Mehdi Amini 2019-05-09 23:08:13 -07:00 committed by Mehdi Amini
parent e0949c9cdb
commit 051925bd34
2 changed files with 1 additions and 6 deletions

View File

@ -92,10 +92,6 @@ public:
/// PassRegistration or registerPass.
PassInfo(StringRef arg, StringRef description, const PassID *passID,
PassAllocatorFunction allocator);
private:
// Unique identifier for pass.
const PassID *passID;
};
/// Register a specific dialect pipeline registry function with the system,

View File

@ -63,8 +63,7 @@ void mlir::registerPassPipeline(StringRef arg, StringRef description,
PassInfo::PassInfo(StringRef arg, StringRef description, const PassID *passID,
PassAllocatorFunction allocator)
: PassRegistryEntry(arg, description, buildDefaultRegistryFn(allocator)),
passID(passID) {}
: PassRegistryEntry(arg, description, buildDefaultRegistryFn(allocator)) {}
void mlir::registerPass(StringRef arg, StringRef description,
const PassID *passID,