forked from OSchip/llvm-project
Remove unused PassID member from PassRegistry (NFC)
Fix clang warning -- PiperOrigin-RevId: 247558931
This commit is contained in:
parent
e0949c9cdb
commit
051925bd34
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue