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:
parent
0696878327
commit
5218ad3e92
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user