Switch C compilations to C11 by default.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 20 Oct 2014 23:26:58 +0000 (23:26 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 20 Oct 2014 23:26:58 +0000 (23:26 +0000)
commitab506adf7d3ced6abcaf42f92de3d6cd15fa19e8
tree58e29f07d41e8ad46b8e282367d45b8dbf207a37
parente6b994eb93b6825d396e8ee66e791611ba112d25
Switch C compilations to C11 by default.

This is long-since overdue, and matches GCC 5.0. This should also be
backwards-compatible, because we already supported all of C11 as an extension
in C99 mode.

llvm-svn: 220244
14 files changed:
clang/docs/UsersManual.rst
clang/lib/Basic/Targets.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Lexer/has_extension.c
clang/test/Lexer/has_feature_c1x.c
clang/test/Parser/c11-noreturn.c
clang/test/Parser/c1x-alignas.c
clang/test/Preprocessor/init.c
clang/test/Preprocessor/line-directive.c
clang/test/Sema/anonymous-struct-union-c11.c
clang/test/Sema/array-init.c
clang/test/Sema/attr-deprecated.c
clang/test/Sema/types.c
clang/www/compatibility.html