mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-11 20:27:19 +00:00
[modules] Simplify code logic. NFC.
llvm-svn: 263060
This commit is contained in:
parent
ec8a8b5437
commit
7f96b39151
@ -418,12 +418,8 @@ void Module::print(raw_ostream &OS, unsigned Indent) const {
|
||||
OS.indent(Indent + 2);
|
||||
OS << "export ";
|
||||
printModuleId(OS, UnresolvedExports[I].Id);
|
||||
if (UnresolvedExports[I].Wildcard) {
|
||||
if (UnresolvedExports[I].Id.empty())
|
||||
OS << "*";
|
||||
else
|
||||
OS << ".*";
|
||||
}
|
||||
if (UnresolvedExports[I].Wildcard)
|
||||
OS << (UnresolvedExports[I].Id.empty() ? "*" : ".*");
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user