llvm/llvm-project

llvm/llvm-project has 8,330,667 source lines of code out of 11,581,529 total lines across 37,141 files, counted from the main ref at commit 4babb62699e4 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-21 (commit 4babb62699e4), llvm/llvm-project contains 11,581,529 total lines: 8,330,667 code, 1,819,821 comments, 1,431,041 blank, across 37,141 files in 49 languages (top: C++ 67.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-21 (commit 4babb62699e4), llvm/llvm-project contains 11,581,529 total lines: 8,330,667 code, 1,819,821 comments, 1,431,041 blank, across 37,141 files in 49 languages (top: C++ 67.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving llvm/llvm-project to commit 4babb62699e4, 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 71.9% of all lines, comments represent 15.7%, and the repository averages 224 code lines per file. C++ accounts for 67.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1376874708605601325981228888307
C Header1547127774721724876643660408936
C9582499471711724702331752
C++ Header6192088521654732204721332
Python7271678061329861260222218
CMake25591571961296941094716555
Bitbake52211581910454653095964
Bazel128650315863015144887
GNU Style Assembly257531013982994873785
HTML493872937550428751
Module-Definition186398453501304832
YAML1833309332710173210

Top language (C++ 67.2%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

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

llvm/llvm-project has 11,581,529 total lines, including 8,330,667 code lines, 1,819,821 comment lines, and 1,431,041 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4babb62699e4, 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 4babb62699e4 on 2026-10-21T02:44:27.547448361+00:00.

Similar repository reports

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

Play the growth animation for llvm/llvm-project on this page — 8,330,667 code lines across 12 languages, counted by tokei.