瀏覽代碼

Features: Don't record for AppleClang

Features are currently recorded accidentally for all versions of
AppleClang > 3.4 (I have no idea how that relates to upstream
Clang). Presumably that version has the features which are
accidentally recorded, but in the future features will be
recorded initially for only AppleClang >= 5.1, which would
appear as a feature regression.

Commit v3.1.0-rc1~635^2~11 (Don't load Clang-CXX from
AppleClang-CXX., 2013-11-11) ajusted the logic for the CXX
language.  Make a similar change for the C language.
Stephen Kelly 11 年之前
父節點
當前提交
ded30405b2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Modules/Compiler/AppleClang-C.cmake

+ 2 - 1
Modules/Compiler/AppleClang-C.cmake

@@ -1 +1,2 @@
-include(Compiler/Clang-C)
+include(Compiler/Clang)
+__compiler_clang(C)