OSDN Git Service

[mips] Improve the error messages given by MipsAsmParser.
authorToma Tabacu <toma.tabacu@imgtec.com>
Tue, 16 Sep 2014 15:00:52 +0000 (15:00 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Tue, 16 Sep 2014 15:00:52 +0000 (15:00 +0000)
commitcdb6326c1fb76928e5be86a61e6de73d07e322f1
treef761bb1701bbe48669c3a0e8be479307ef51f6c0
parentbaaa29f3a2b5b4463921fe3af7669850e7de81fd
[mips] Improve the error messages given by MipsAsmParser.

Summary: Changed error messages to be more informative and to resemble other clang/llvm error messages (first letter is lower case, no ending punctuation) and updated corresponding tests.

Reviewers: dsanders

Reviewed By: dsanders

Differential Revision: http://reviews.llvm.org/D5065

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217873 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/mips-expansions-bad.s
test/MC/Mips/mips-noat.s
test/MC/Mips/mips1/invalid-mips5-wrong-error.s
test/MC/Mips/mips2/invalid-mips5-wrong-error.s
test/MC/Mips/mips3/invalid-mips5-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips1-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips2-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips32-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips4-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips5-wrong-error.s
test/MC/Mips/mips4/invalid-mips5-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips1-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips3-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips32-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips4-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips5-wrong-error.s
test/MC/Mips/mips_directives_bad.s
test/MC/Mips/set-at-directive-explicit-at.s