aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h
index dc1b17e..15d8d5b 100644
--- a/include/llvm/Assembly/Parser.h
+++ b/include/llvm/Assembly/Parser.h
@@ -36,7 +36,8 @@ 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
//
-struct ParseException {
+class ParseException {
+public:
ParseException(const std::string &filename, const std::string &message,
int LineNo = -1, int ColNo = -1);