mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Implement review feedback.
llvm-svn: 36342
This commit is contained in:
parent
2cf2830f4d
commit
abe7ce99f0
@ -58,7 +58,7 @@ protected:
|
||||
// Note: VC++ treats enums as signed, so an extra bit is required to prevent
|
||||
// Linkage and Visibility from turning into negative values.
|
||||
LinkageTypes Linkage : 5; // The linkage of this global
|
||||
VisibilityTypes Visibility : 2; // The visibility style of this global
|
||||
unsigned Visibility : 1; // The visibility style of this global
|
||||
unsigned Alignment : 16; // Alignment of this symbol, must be power of two
|
||||
std::string Section; // Section to emit this into, empty mean default
|
||||
public:
|
||||
@ -72,7 +72,7 @@ public:
|
||||
Alignment = Align;
|
||||
}
|
||||
|
||||
VisibilityTypes getVisibility() const { return Visibility; }
|
||||
VisibilityTypes getVisibility() const { return (VisibilityTypes)Visibility; }
|
||||
bool hasHiddenVisibility() const { return Visibility == HiddenVisibility; }
|
||||
void setVisibility(VisibilityTypes V) { Visibility = V; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user