aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly/Parser.h')
-rw-r--r--include/llvm/Assembly/Parser.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h
index b54617a..e085541 100644
--- a/include/llvm/Assembly/Parser.h
+++ b/include/llvm/Assembly/Parser.h
@@ -1,4 +1,4 @@
-//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ----*- C++ -*--=//
+//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ---*- C++ -*-===//
//
// These classes are implemented by the lib/AsmParser library.
//
@@ -27,8 +27,7 @@ Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException)
// ParseException - For when an exceptional event is generated by the parser.
// This class lets you print out the exception message
//
-class ParseException {
-public:
+struct ParseException {
ParseException(const std::string &filename, const std::string &message,
int LineNo = -1, int ColNo = -1);