From ac07dab30042584febb67384d3b85069a513b940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Thu, 23 May 2013 16:30:52 +0200
Subject: [PATCH] [CMake] Remove check for __attribute__((always_inline)).

The test result was never used. The test slipped in as a copy from
the CMake code snippet from DuMuX.
---
 cmake/modules/FindCXX11Features.cmake | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/cmake/modules/FindCXX11Features.cmake b/cmake/modules/FindCXX11Features.cmake
index 67fd5759f..fbb96ce4e 100644
--- a/cmake/modules/FindCXX11Features.cmake
+++ b/cmake/modules/FindCXX11Features.cmake
@@ -121,17 +121,6 @@ CHECK_CXX_SOURCE_COMPILES("
 
 endif(NOT DISABLE_TR1_HEADERS)
 
-# __attribute__((always_inline))
-CHECK_CXX_SOURCE_COMPILES("
-   void __attribute__((always_inline)) foo(void) {}
-   int main(void)
-   {
-     foo();
-     return 0;
-   };
-"  HAVE_ATTRIBUTE_ALWAYS_INLINE
-)
-
 # __attribute__((unused))
 CHECK_CXX_SOURCE_COMPILES("
    int main(void)
-- 
GitLab