llvm/llvm-project

llvm/llvm-project has 8,434,145 source lines of code out of 11,722,930 total lines across 37,807 files, counted with tokei from the main ref at commit 563eb6b997c3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 563eb6b997c3), llvm/llvm-project contains 11,722,930 total lines: 8,434,145 code, 1,843,240 comments, 1,445,545 blank, across 37,807 files in 49 languages (top language: C++ 67.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 563eb6b997c3), llvm/llvm-project contains 11,722,930 total lines: 8,434,145 code, 1,843,240 comments, 1,445,545 blank, across 37,807 files in 49 languages (top language: C++ 67.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving llvm/llvm-project to commit 563eb6b997c3, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

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 223 code lines per file. C++ accounts for 67.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1397075572445667647992961896636
C Header1577628045201737970653296413254
C9582507551714904740631859
C++ Header6232096701659872224221441
Python7341713681360591274122568
CMake25981614951335301100816957
Bitbake52311644210515353215968
Bazel187726826524317405699
GNU Style Assembly257531553988094893786
YAML2183998939600177212
HTML494003738855428754
Module-Definition192403323548304849

Top language: C++ 67.2%. Generated on .

Counting rules and retention

llvm/llvm-project: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

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 8,434,145 lines of code, plus 1,843,240 comment lines and 1,445,545 blank lines, for 11,722,930 total lines at commit 563eb6b997c3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 563eb6b997c3, 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 563eb6b997c3 on November 16, 2026.

Play the growth animation for llvm/llvm-project on this page — 8,434,145 code lines across 49 languages, counted by tokei.