Clang-Scan-Deps Lands In Clang 9.0 For Much Faster Dependency Scanning
Written by Michael Larabel in LLVM on 16 June 2019 at 09:27 AM EDT. 3 Comments
LLVM --
Landing this week in the LLVM Clang 9.0 development code-base is the new clang-scan-deps tool for much faster scanning of files for dependencies compared to the traditional pre-processor based approach.

Development of clang-scan-deps was led by Apple's compiler team and delivers up to around ten (10) times faster performance for scanning of dependencies/modules before compiling compared to the pre-processor-based scanning.

Clang-scan-deps is designed to scale out nicely for code-bases with many C++ files and is working on proper C++20 modules support. Ultimately they plan to provide integration of clang-scan-deps with the Clangd service and more for IDE integration and other use-cases.


The initial clang-scan-deps code merged this week into Clang SVN/Git. LLVM/Clang 9.0 is expected for release around September given their usual release cadence.

About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related LLVM News
Popular News This Week