summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx_attribute_fallthrough.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Simplify CM_FALLTHROUGH implementationBrad King2017-11-301-11/+0
| | | | | | | Use the macro now provided by KWSys instead of using `try_compile` checks. It will no longer consider the `__attribute__((fallthrough))` variant, but compilers that don't have one of the modern attributes shouldn't warn about not using one anyway.
* Fix CM_FALLTHROUGH with -Wunused-parameterBrad King2017-08-221-1/+1
| | | | | Fix the test code that we `try_compile` to avoid unused parameter warnings that cause the check to fail.
* Provide and use CM_FALLTHROUGHDaniel Pfeifer2017-06-031-0/+11