LLVM's Clang Compiler Nearly C++11 Feature Complete

Posted by Michael Larabel on February 22, 2013

LLVM's Clang C/C++ compiler front-end is nearing feature completion for supporting C++11, the latest C++ ISO standard.

C++0x/C++11 was approved in August of 2011 and since then LLVM/Clang developers have been vigorously working on support for the latest language features.

Earlier LLVM/Clang releases have already added a bulk of the C++11 support while the few remaining bits are still in play. LLVM/Clang 3.3 will also finish up a few more features. Per a recent LLVM commit updating the C++ status page, Clang is becoming in quite good shape.

Items thar are now complete within the SVN code-base (and to be formally found within Clang 3.3) is support for generalized attributes and alignment support. When it comes to C++11 concurrency functionality, the latest SVN code also handles sequence points.

Items left to be completed for Clang handling C++11 are inheriting constructors, inter-thread data-dependency ordering, thread-local storage, and extended integral types.

The other major C++11 features have already been implemented within LLVM/Clang in version 3.2 and earlier releases.

When it comes to the C++ standard library requirements, Clang can use either LLVM's libc++ as the preferred library otherwise it can also function with patched versions of GCC's GPL-licensed libstdc++ library.

The GNU Compiler Collection has also been working to improve its C++11 support with the forthcoming GCC 4.8 release.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. The Cost Of Ubuntu Disk Encryption
  2. DRM Moves Ahead With HTML5 Specification
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. Logitech Begins Supporting Linux Users
  5. Logitech supports linux!
  6. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite