Get Apple clang version and corresponding upstream LLVM version

前端 未结 9 2147
梦如初夏
梦如初夏 2020-12-05 06:25

I want to understand which version of clang Apple installed in my macbook, to see with c++11 and/or c++14 features are available. I typed this command:

clang         


        
9条回答
  •  再見小時候
    2020-12-05 06:34

    Wikipedia's Xcode page has a map of Apple to LLVM versions. The LLVM column has the open-source LLVM/Clang version. From this you can look up a language feature in cppreference's chart of compiler support for language features.

提交回复
热议问题