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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 13970 | 7557244 | 5667647 | 992961 | 896636 |
| C Header | 15776 | 2804520 | 1737970 | 653296 | 413254 |
| C | 958 | 250755 | 171490 | 47406 | 31859 |
| C++ Header | 623 | 209670 | 165987 | 22242 | 21441 |
| Python | 734 | 171368 | 136059 | 12741 | 22568 |
| CMake | 2598 | 161495 | 133530 | 11008 | 16957 |
| Bitbake | 523 | 116442 | 105153 | 5321 | 5968 |
| Bazel | 187 | 72682 | 65243 | 1740 | 5699 |
| GNU Style Assembly | 257 | 53155 | 39880 | 9489 | 3786 |
| YAML | 218 | 39989 | 39600 | 177 | 212 |
| HTML | 49 | 40037 | 38855 | 428 | 754 |
| Module-Definition | 192 | 40332 | 35483 | 0 | 4849 |
| JSON | 61 | 19120 | 19111 | 0 | 9 |
| OpenCL | 515 | 14772 | 12381 | 69 | 2322 |
| Assembly | 5 | 10199 | 9522 | 406 | 271 |
| Objective-C++ | 7 | 9303 | 7236 | 928 | 1139 |
| SWIG | 136 | 6942 | 6314 | 5 | 623 |
| FORTRAN Modern | 18 | 7189 | 5932 | 460 | 797 |
| JavaScript | 26 | 7051 | 5428 | 1130 | 493 |
| Autoconf | 270 | 6288 | 5003 | 679 | 606 |
| Shell | 84 | 5819 | 4368 | 738 | 713 |
| AWK | 2 | 3739 | 3523 | 102 | 114 |
| OCaml | 22 | 6038 | 3224 | 1835 | 979 |
| TypeScript | 32 | 3359 | 2512 | 530 | 317 |
| 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 | 11968 | 0 | 8883 | 3085 |
| Plain Text | 224 | 76982 | 0 | 68565 | 8417 |
Top language: C++ 67.2%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 563eb6b997c3 on November 16, 2026.
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.