Commit Graph

2 Commits

Author SHA1 Message Date
Richard Smith b241411e50 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220244 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-20 23:26:58 +00:00
Hans Wennborg acbabf1770 Don't warn about anonymous struct/union in C11.
Also, in C, call this a C11 extension rather than a GNU extension.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149695 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-03 15:47:04 +00:00