mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
Add workaround to build scoped enums with VS2015. NFCI.
We need this as we still have internal build bots on VS2015. llvm-svn: 356532
This commit is contained in:
parent
6fda1bfa03
commit
aef16dc3c1
@ -62,7 +62,7 @@ enum class Type {
|
||||
/// A remark type used for both emission and parsing.
|
||||
struct Remark {
|
||||
/// The type of the remark.
|
||||
enum Type RemarkType = Type::Unknown;
|
||||
enum class Type RemarkType = Type::Unknown;
|
||||
|
||||
/// Name of the pass that triggers the emission of this remark.
|
||||
StringRef PassName;
|
||||
|
@ -21,7 +21,7 @@ struct ParserImpl {
|
||||
|
||||
// The parser kind. This is used as a tag to safely cast between
|
||||
// implementations.
|
||||
enum Kind ParserKind;
|
||||
enum class Kind ParserKind;
|
||||
};
|
||||
} // end namespace remarks
|
||||
} // end namespace llvm
|
||||
|
Loading…
Reference in New Issue
Block a user