1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix Wmismatched-tags warning.

InlineAsmIdentifierInfo was declared a class in some places and a class in others.

llvm-svn: 314508
This commit is contained in:
Simon Pilgrim 2017-09-29 11:42:05 +00:00
parent 0696878327
commit 5218ad3e92

View File

@ -34,7 +34,8 @@ class MCStreamer;
class MCTargetAsmParser;
class SourceMgr;
struct InlineAsmIdentifierInfo {
class InlineAsmIdentifierInfo {
public:
enum IdKind {
IK_Invalid, // Initial state. Unexpected after a successful parsing.
IK_Label, // Function/Label reference.
@ -85,6 +86,7 @@ struct InlineAsmIdentifierInfo {
Var.Length = size / type;
}
InlineAsmIdentifierInfo() : Kind(IK_Invalid) {}
private:
// Discrimint using the current kind
IdKind Kind;