[cmake] Avoid warnings in feature tests. NFC.
commit02c80a942bfb61325d032a480f94b351b4b2876d
authorMichael Kruse <llvm@meinersbur.de>
Thu, 20 Oct 2016 11:16:19 +0000 (20 11:16 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 20 Oct 2016 11:16:19 +0000 (20 11:16 +0000)
treeac8b09a43ca5d79a1a66b43f05fc0005fbba955b
parentc4ce022f51893d4eaa4e7a83b9d7964bdb6ca073
[cmake] Avoid warnings in feature tests. NFC.

Apply the __attribute__((unused)) before the function to unambiguously apply to
the function declaration.

Add more casts-to-void to mark return values unused as intended.

Contributed-by: Andy Gibbs <andyg1001@hotmail.co.uk>
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@284718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/External/CMakeLists.txt