llvm/llvm-project

llvm/llvm-project has 8,466,949 source lines of code out of 11,769,321 total lines across 38,087 files, counted with tokei from the main ref at commit 34caa331010e on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

llvm/llvm-project: 8,466,949 code lines at commit 34caa331010e, counted with tokei-15.0.0 on 2026-11-24. Saved result bc2a6175849bf501186449df8751738494ff30a0b6f3361a3435fbcadcf67939.

Source: llvm/llvm-project on GitHub · counted commit 34caa331010e

OctoCounts produced this report by resolving llvm/llvm-project to commit 34caa331010e, 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 222 code lines per file. C++ accounts for 67.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1407775882485691113997777899358
C Header1591628160111744155656899414957
C9582509221715534748331886
C++ Header6232096701659872224221441
Python7341714621361411274922572
CMake26181631591350141106217083
Bitbake52411651410520553385971
Bazel190733526585917545739
GNU Style Assembly257534724006995903813
YAML2244031239923177212
HTML494011738901447769
Module-Definition193404453559004855
JSON62191411913209
OpenCL5151478212391692322
Assembly5101999522406271
Objective-C++7940673299331144
SWIG136693963115623
FORTRAN Modern1871895932460797
JavaScript26705154281130493
Autoconf27062935006680607
Shell8458194368738713
AWK237393523102114
OCaml22604232281835979
TypeScript3334372575536326
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
Markdown11211975088893086
Plain Text224771530687138440

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,466,949 lines of code, plus 1,852,115 comment lines and 1,450,257 blank lines, for 11,769,321 total lines at commit 34caa331010e on November 24, 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 34caa331010e, 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 34caa331010e on November 24, 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,466,949 code lines across 49 languages, counted by tokei.