diff options
author | Michael Ilseman <milseman@apple.com> | 2013-04-10 01:04:18 +0000 |
---|---|---|
committer | Michael Ilseman <milseman@apple.com> | 2013-04-10 01:04:18 +0000 |
commit | e910cc8e0708b5458be2599191cf14dc46bd2bfa (patch) | |
tree | 05a85f62d31ddeb3c54def14125b36880ab6c85e /llvm/lib/CodeGen/Passes.cpp | |
parent | e1368a107a3ec58b121d369468d8d047c3201395 (diff) | |
download | bcm5719-llvm-e910cc8e0708b5458be2599191cf14dc46bd2bfa.tar.gz bcm5719-llvm-e910cc8e0708b5458be2599191cf14dc46bd2bfa.zip |
Improve the diagnostics of the number-reading preprocessor directives.
The GNU line marker directive was sharing code with the #line directive, but some of the warnings/errors were reporting as #line directive diagnostics in both cases.
Previously:
#line 11foo1 ==> "#line directive requires a simple digit sequence"
# 11foo1 ==> "#line directive requires a simple digit sequence"
Now, we get:
#line 11foo1 ==> "#line directive requires a simple digit sequence"
# 11foo1 ==> "GNU line marker directive requires a simple digit sequence"
llvm-svn: 179139
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions