mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
* Remove trailing whitespace
* Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,7 +50,7 @@ Module *llvm::ParseAssemblyFile(const std::string &Filename) {
|
||||
|
||||
ParseException::ParseException(const std::string &filename,
|
||||
const std::string &message,
|
||||
int lineNo, int colNo)
|
||||
int lineNo, int colNo)
|
||||
: Filename(filename), Message(message) {
|
||||
LineNo = lineNo; ColumnNo = colNo;
|
||||
}
|
||||
|
@@ -56,7 +56,7 @@ char *UnEscapeLexed(char *Buffer, bool AllowNull = false);
|
||||
// of just 'throw ParseException'... sigh...
|
||||
//
|
||||
static inline void ThrowException(const std::string &message,
|
||||
int LineNo = -1) {
|
||||
int LineNo = -1) {
|
||||
if (LineNo == -1) LineNo = llvmAsmlineno;
|
||||
// TODO: column number in exception
|
||||
throw ParseException(CurFilename, message, LineNo);
|
||||
|
Reference in New Issue
Block a user