diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-27 01:17:05 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-27 01:17:05 +0000 |
commit | 8c8fb8049080bb3522c3cd8349b1d2f79c54531e (patch) | |
tree | f9bdd832ff70ddaa67a90ad38fdd813b44e9fa7c /clang/lib/Basic/Targets.cpp | |
parent | 26beacc19e167381334032cc25fe9fed0fda139d (diff) | |
download | bcm5719-llvm-8c8fb8049080bb3522c3cd8349b1d2f79c54531e.tar.gz bcm5719-llvm-8c8fb8049080bb3522c3cd8349b1d2f79c54531e.zip |
Improve diagnostics for bad -std= flag.
Don't list deprecated -std= values (c++0x etc). Only produce one line of output
per standard, even if we know it by multiple names.
In passing, add missing -std=gnu++03 alias (supported by GCC), and add new
spelling '-std=cl1.0' for OpenCL 1.0 for consistency with the other values,
with the same meaning as the preexisting '-std=cl'.
llvm-svn: 301507
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions