-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29553 from makortel/deleteNonconsumedModules
Delete unscheduled modules that are not consumed by any scheduled module
- Loading branch information
Showing
81 changed files
with
2,274 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef FWCore_Framework_ModuleProcessName_h | ||
#define FWCore_Framework_ModuleProcessName_h | ||
|
||
#include <string_view> | ||
|
||
namespace edm { | ||
/** | ||
* Helper class to hold a module label and a process name | ||
* | ||
* Note: does NOT own the string storage, be careful to use. | ||
*/ | ||
class ModuleProcessName { | ||
public: | ||
explicit ModuleProcessName(std::string_view module, std::string_view process) | ||
: moduleLabel_{module}, processName_{process} {} | ||
|
||
std::string_view moduleLabel() const { return moduleLabel_; } | ||
std::string_view processName() const { return processName_; } | ||
|
||
private: | ||
std::string_view moduleLabel_; | ||
std::string_view processName_; | ||
}; | ||
|
||
inline bool operator<(ModuleProcessName const& a, ModuleProcessName const& b) { | ||
return a.processName() == b.processName() ? a.moduleLabel() < b.moduleLabel() : a.processName() < b.processName(); | ||
} | ||
} // namespace edm | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.