forked from OSchip/llvm-project
[regalloc] Fix GCC warning `-Wattributes`. NFC.
- Mark it with LLVM_LIBRARY_VISIBILITY to preserve the legacy visibility.
This commit is contained in:
parent
95f9eddbbc
commit
56ec762a76
|
@ -69,9 +69,9 @@
|
|||
#include <utility>
|
||||
|
||||
namespace llvm {
|
||||
class RAGreedy : public MachineFunctionPass,
|
||||
public RegAllocBase,
|
||||
private LiveRangeEdit::Delegate {
|
||||
class LLVM_LIBRARY_VISIBILITY RAGreedy : public MachineFunctionPass,
|
||||
public RegAllocBase,
|
||||
private LiveRangeEdit::Delegate {
|
||||
// Convenient shortcuts.
|
||||
using PQueue = std::priority_queue<std::pair<unsigned, unsigned>>;
|
||||
using SmallLISet = SmallPtrSet<LiveInterval *, 4>;
|
||||
|
|
Loading…
Reference in New Issue