llvm/llvm-project SLOC report

As of 2026-09-07 (commit 7a67a1ab6f3f), llvm/llvm-project contains 11,381,288 total lines: 8,190,133 code, 1,780,496 comments, 1,410,659 blank, across 36,292 files in 49 languages (top: C++ 67.2%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 7a67a1ab6f3f), llvm/llvm-project contains 11,381,288 total lines: 8,190,133 code, 1,780,496 comments, 1,410,659 blank, across 36,292 files in 49 languages (top: C++ 67.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving llvm/llvm-project to commit 7a67a1ab6f3f, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a very large codebase by counted code lines. Code represents 72.0% of all lines, comments represent 15.6%, and the repository averages 226 code lines per file. C++ accounts for 67.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1342573368555500154961107875594
C Header1505627350081703594628460402954
C9572478481703034609531450
C++ Header6112074751648382149621141
Python7221662491317451245822046
CMake25131506821239801063516067
Bitbake51711188110061952895973
Bazel122607785478314284567
GNU Style Assembly248523133923393233757
HTML493872837646380702
Module-Definition182391473436704780
YAML1773287332449183241

Top language (C++ 67.2%). Generated at 2026-09-07T08:26:29.043829165+00:00.

Report FAQ

How many lines of code does llvm/llvm-project have?

llvm/llvm-project has 11,381,288 total lines, including 8,190,133 code lines, 1,780,496 comment lines, and 1,410,659 blank lines.

How was the llvm/llvm-project line count measured?

OctoCounts resolved the public GitHub repository to commit 7a67a1ab6f3f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for llvm/llvm-project?

This OctoCounts report was generated from main at commit 7a67a1ab6f3f on 2026-09-07T08:26:29.043829165+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: