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.

llvm/llvm-project: 8,434,145 code lines at commit 563eb6b997c3, counted with tokei-15.0.0 on 2026-11-16. Saved result 0c955ce88bf311a31a6292ce95110cd29910006aec34c65bc8efdbadb614002a.

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
JSON61191201911109
OpenCL5151477212381692322
Assembly5101999522406271
Objective-C++7930372369281139
SWIG136694263145623
FORTRAN Modern1871895932460797
JavaScript26705154281130493
Autoconf27062885003679606
Shell8458194368738713
AWK237393523102114
OCaml22603832241835979
TypeScript3233592512530317
Perl830932498384211
CSS162614219776341
BASH515911216223152
Emacs Lisp1116621161313188
Mustache1510099234739
Scheme485070622122
Vim Script167846766345
Batch2675456512564
XML650449176
Dockerfile958934815784
Jupyter Notebooks363032421987
Protocol Buffers53812517258
TOML83012262748
Forge Config262952103451
Scala2120720700
Makefile103081806464
Swift5148132115
Objective-C72091313147
Nix1152106442
LLVM1837427
GDB Script22784718843
D1181602
INI212921
Markdown11211968088833085
Plain Text224769820685658417

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.

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,434,145 code lines across 49 languages, counted by tokei.