mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Introduce using to increase readibility
This commit introduces `using` statements and `constexpr` functions to increase readibility of various types.
This commit is contained in:
@@ -21,10 +21,11 @@
|
||||
using namespace llvm;
|
||||
|
||||
char GeneratedCodeBasicInfo::ID = 0;
|
||||
static RegisterPass<GeneratedCodeBasicInfo> X("gcbi",
|
||||
"Generated Code Basic Info",
|
||||
true,
|
||||
true);
|
||||
using RegisterGCBI = RegisterPass<GeneratedCodeBasicInfo>;
|
||||
static RegisterGCBI X("gcbi",
|
||||
"Generated Code Basic Info",
|
||||
true,
|
||||
true);
|
||||
|
||||
bool GeneratedCodeBasicInfo::runOnFunction(llvm::Function &F) {
|
||||
DBG("passes", { dbg << "Starting GeneratedCodeBasicInfo\n"; });
|
||||
|
||||
Reference in New Issue
Block a user