summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-1/+1
| | | | | | | | | | | | 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.
* WriteCompilerDetectionHeader: fix STATIC_ASSERTDaniel Pfeifer2017-03-061-0/+3
| | | | fixes #16185
* WCDH: Test that no C compiler features are defined for CXX compiler.Stephen Kelly2015-01-191-0/+4
| | | | | This amends commit 54156d72 (WCDH: Generate per-language files in multi-file mode., 2015-01-17).
* WCDH: Make it possible to generate multiple files.Stephen Kelly2014-11-241-23/+2
| | | | | | Extend the write_compiler_detection_header interface to allow specifying a location for supplementary files, and getting the list of resulting files as a variable.
* Features: Add compiler version support to WriteCompilerDetectionHeader.Stephen Kelly2014-06-091-0/+12
|
* Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-141-0/+19
Provide a function to write a portable header to detect compiler features. Generate a preprocessor #error for unknown compilers and compiler versions whose features are not yet recorded. This error condition might be relaxed in the future, but for now it is useful for verification of expectations.