aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorToma Tabacu <toma.tabacu@imgtec.com>2015-01-23 10:40:19 +0000
committerToma Tabacu <toma.tabacu@imgtec.com>2015-01-23 10:40:19 +0000
commitc405c82214349d2735ace341eb5029f10282da5f (patch)
treebed272d2620815fd1820e42f2e962ae58cfd722e /clang/lib/Sema/SemaCodeComplete.cpp
parentf1d7050a2561547c3cad7d33f47f894d9ca4229a (diff)
downloadllvm-c405c82214349d2735ace341eb5029f10282da5f.zip
llvm-c405c82214349d2735ace341eb5029f10282da5f.tar.gz
llvm-c405c82214349d2735ace341eb5029f10282da5f.tar.bz2
[mips] Add new error message and improve testing for parsing the .module directive.
Summary: We used to silently ignore any empty .module's and we used to give an error saying that we found an "unexpected token at start of statement" when the value of the option wasn't an identifier (e.g. if it was a number). We now give an error saying that we "expected .module option identifier" in both of those cases. I also fixed the other tests in mips-abi-bad.s, which all seemed to be broken. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7095 llvm-svn: 226905
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions