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.

llvm/llvm-project: 8,330,667 code lines at commit 4babb62699e4, counted with tokei-14.0.0 on 2026-10-21. Saved result 4c7ddd75f416d0a5a433781f729c93d9a714736cd19b4fea2a04eeb4bb58321e.

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
JSON59188211881209
OpenCL5151467612317522307
Assembly5101999522406271
Objective-C++7930072359241141
SWIG136694163135623
FORTRAN Modern1871875930460797
JavaScript26705154281130493
Autoconf27062734984682607
Shell8458194368738713
AWK237393523102114
OCaml22603832241835979
Perl830932498384211
TypeScript3132472437508302
CSS162614219776341
BASH515641197218149
Emacs Lisp1116621161313188
Mustache1510099234739
Scheme485070622122
Vim Script167836756345
Batch2675456512564
XML650349076
Dockerfile958534515783
Jupyter Notebooks363032421987
Protocol Buffers53812517258
ReStructuredText6319234085
TOML83012262748
Forge Config262932083451
Scala2120720700
Makefile103081806464
Objective-C72091313147
Nix1152106442
LLVM1837427
GDB Script22784718843
D1181602
INI212921
Markdown10611682086673015
Plain Text224761970677998398

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.547448361Z.

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 49 languages, counted by tokei.