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
97d104cbee
commit
6080a6fb19
|
@ -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