# LLVM is now on C++14

**URL:** <https://forums.swift.org/t/llvm-is-now-on-c-14/27931>\
**Category:** Compiler\
**Created:** [August 15, 2019, 7:38pm UTC](https://forums.swift.org/t/llvm-is-now-on-c-14/27931 "2019-08-15T19:38:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JF\_Bastien](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jf_bastien/32/8726_2.png) [@JF\_Bastien](https://forums.swift.org/u/JF_Bastien)\
**Post date:** [August 15, 2019, 7:38pm UTC](https://forums.swift.org/t/llvm-is-now-on-c-14/27931/1 "2019-08-15T19:38:19Z")

</div>

Hi Swift folks!

LLVM and clang are now compiling with C++14 as of yesterday: [⚙ D66195 Move to C++14](http://llvm.org/D66195)  
CMake projects will just inherit this build setting, but other builds will need to be updated. There's already some C++14 specific code in the LLVM codebase, so incoming merges will be broken unless all Swift builds also use C++14.

---

<div class="post-metadata">

**Author:** ![JDevlieghere](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jdevlieghere/32/36763_2.png) [@JDevlieghere](https://forums.swift.org/u/JDevlieghere)\
**Post date:** [August 15, 2019, 7:57pm UTC](https://forums.swift.org/t/llvm-is-now-on-c-14/27931/2 "2019-08-15T19:57:34Z")

</div>

Ninja builds of master-next are already using C++14 because they inherit the C++ version from the LLVM CMake configuration.

I've put up a PR to update the Xcode support as well: [Move Xcode support to C++14 by JDevlieghere · Pull Request #26673 · apple/swift · GitHub](https://github.com/apple/swift/pull/26673)
