From 184d84b07da9adcc49afa27781b0a120c00db44f Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 1 Jan 2005 20:51:41 +0000 Subject: Add llvm-as project to Visual Studio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19227 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Assembly/Parser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/llvm/Assembly') 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); -- cgit v1.1