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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 14077 | 7588248 | 5691113 | 997777 | 899358 |
| C Header | 15916 | 2816011 | 1744155 | 656899 | 414957 |
| C | 958 | 250922 | 171553 | 47483 | 31886 |
| C++ Header | 623 | 209670 | 165987 | 22242 | 21441 |
| Python | 734 | 171462 | 136141 | 12749 | 22572 |
| CMake | 2618 | 163159 | 135014 | 11062 | 17083 |
| Bitbake | 524 | 116514 | 105205 | 5338 | 5971 |
| Bazel | 190 | 73352 | 65859 | 1754 | 5739 |
| GNU Style Assembly | 257 | 53472 | 40069 | 9590 | 3813 |
| YAML | 224 | 40312 | 39923 | 177 | 212 |
| HTML | 49 | 40117 | 38901 | 447 | 769 |
| Module-Definition | 193 | 40445 | 35590 | 0 | 4855 |
| JSON | 62 | 19141 | 19132 | 0 | 9 |
| OpenCL | 515 | 14782 | 12391 | 69 | 2322 |
| Assembly | 5 | 10199 | 9522 | 406 | 271 |
| Objective-C++ | 7 | 9406 | 7329 | 933 | 1144 |
| SWIG | 136 | 6939 | 6311 | 5 | 623 |
| FORTRAN Modern | 18 | 7189 | 5932 | 460 | 797 |
| JavaScript | 26 | 7051 | 5428 | 1130 | 493 |
| Autoconf | 270 | 6293 | 5006 | 680 | 607 |
| Shell | 84 | 5819 | 4368 | 738 | 713 |
| AWK | 2 | 3739 | 3523 | 102 | 114 |
| OCaml | 22 | 6042 | 3228 | 1835 | 979 |
| TypeScript | 33 | 3437 | 2575 | 536 | 326 |
| Perl | 8 | 3093 | 2498 | 384 | 211 |
| CSS | 16 | 2614 | 2197 | 76 | 341 |
| BASH | 5 | 1591 | 1216 | 223 | 152 |
| Emacs Lisp | 11 | 1662 | 1161 | 313 | 188 |
| Mustache | 15 | 1009 | 923 | 47 | 39 |
| Scheme | 4 | 850 | 706 | 22 | 122 |
| Vim Script | 16 | 784 | 676 | 63 | 45 |
| Batch | 26 | 754 | 565 | 125 | 64 |
| XML | 6 | 504 | 491 | 7 | 6 |
| Dockerfile | 9 | 589 | 348 | 157 | 84 |
| Jupyter Notebooks | 3 | 630 | 324 | 219 | 87 |
| Protocol Buffers | 5 | 381 | 251 | 72 | 58 |
| TOML | 8 | 301 | 226 | 27 | 48 |
| Forge Config | 26 | 295 | 210 | 34 | 51 |
| Scala | 21 | 207 | 207 | 0 | 0 |
| Makefile | 10 | 308 | 180 | 64 | 64 |
| Swift | 5 | 148 | 132 | 1 | 15 |
| Objective-C | 7 | 209 | 131 | 31 | 47 |
| Nix | 1 | 152 | 106 | 44 | 2 |
| LLVM | 1 | 83 | 74 | 2 | 7 |
| GDB Script | 2 | 278 | 47 | 188 | 43 |
| D | 1 | 18 | 16 | 0 | 2 |
| INI | 2 | 12 | 9 | 2 | 1 |
| Markdown | 112 | 11975 | 0 | 8889 | 3086 |
| Plain Text | 224 | 77153 | 0 | 68713 | 8440 |
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
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:
- komimoe/Arkari — C++, 8,064,811 code lines
- mongodb/mongo — C++, 7,689,071 code lines
- luobochuanqi/llvm-project — C++, 7,466,206 code lines
- google/filament — C++, 7,434,721 code lines
- GaijinEntertainment/DagorEngine — C++, 6,701,537 code lines
- oceanbase/oceanbase — C++, 6,445,596 code lines
Play the growth animation for llvm/llvm-project on this page — 8,466,949 code lines across 49 languages, counted by tokei.