[llvm] r314536 - Fix Wmismatched-tags warning.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 29 09:52:27 PDT 2017
Author: rksimon
Date: Fri Sep 29 09:52:27 2017
New Revision: 314536
URL: http://llvm.org/viewvc/llvm-project?rev=314536&view=rev
Log:
Fix Wmismatched-tags warning.
InlineAsmIdentifierInfo was declared a class in some places and a struct in others.
Partial reversion of rL314508
Modified:
llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h
Modified: llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h?rev=314536&r1=314535&r2=314536&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h Fri Sep 29 09:52:27 2017
@@ -34,8 +34,7 @@ class MCStreamer;
class MCTargetAsmParser;
class SourceMgr;
-class InlineAsmIdentifierInfo {
-public:
+struct InlineAsmIdentifierInfo {
enum IdKind {
IK_Invalid, // Initial state. Unexpected after a successful parsing.
IK_Label, // Function/Label reference.
More information about the llvm-commits
mailing list