summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.c
Commit message (Collapse)AuthorAgeFilesLines
* C23 supportRaul Tambre2021-02-251-1/+5
|
* C17 supportRaul Tambre2021-02-251-1/+5
| | | | Implements #17755.
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-13/+13
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Tests: Make CompileFeatures C dialect check consistent with implBrad King2018-02-211-1/+1
| | | | | | | | `Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever `__STDC_VERSION__` indicates *at least* C 11. Make the test consistent with this. We already do this for the C++ case. Fixes: #17740
* Features: Record features for SunPro C 5.13 and 5.14Brad King2017-05-111-1/+2
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-12/+12
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Features: Fix the default C dialect for Clang and GNU.Stephen Kelly2014-11-201-0/+22
Clang 3.4 uses C99 by default, and Clang 3.6 uses C11 by default: http://thread.gmane.org/gmane.comp.compilers.clang.devel/39379 GNU 4.9 uses C90 by default, and GNU 5.0 uses C11 by default: https://gcc.gnu.org/gcc-5/changes.html Test that the default compiler settings result in the expected dialect macros being defined for both C and CXX. Remove the unused main.c file from the CompileFeatures unit test.