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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 13768 | 7470860 | 5601325 | 981228 | 888307 |
| C Header | 15471 | 2777472 | 1724876 | 643660 | 408936 |
| C | 958 | 249947 | 171172 | 47023 | 31752 |
| C++ Header | 619 | 208852 | 165473 | 22047 | 21332 |
| Python | 727 | 167806 | 132986 | 12602 | 22218 |
| CMake | 2559 | 157196 | 129694 | 10947 | 16555 |
| Bitbake | 522 | 115819 | 104546 | 5309 | 5964 |
| Bazel | 128 | 65031 | 58630 | 1514 | 4887 |
| GNU Style Assembly | 257 | 53101 | 39829 | 9487 | 3785 |
| HTML | 49 | 38729 | 37550 | 428 | 751 |
| Module-Definition | 186 | 39845 | 35013 | 0 | 4832 |
| YAML | 183 | 33093 | 32710 | 173 | 210 |
| JSON | 59 | 18821 | 18812 | 0 | 9 |
| OpenCL | 515 | 14676 | 12317 | 52 | 2307 |
| Assembly | 5 | 10199 | 9522 | 406 | 271 |
| Objective-C++ | 7 | 9300 | 7235 | 924 | 1141 |
| SWIG | 136 | 6941 | 6313 | 5 | 623 |
| FORTRAN Modern | 18 | 7187 | 5930 | 460 | 797 |
| JavaScript | 26 | 7051 | 5428 | 1130 | 493 |
| Autoconf | 270 | 6273 | 4984 | 682 | 607 |
| Shell | 84 | 5819 | 4368 | 738 | 713 |
| AWK | 2 | 3739 | 3523 | 102 | 114 |
| OCaml | 22 | 6038 | 3224 | 1835 | 979 |
| Perl | 8 | 3093 | 2498 | 384 | 211 |
| TypeScript | 31 | 3247 | 2437 | 508 | 302 |
| CSS | 16 | 2614 | 2197 | 76 | 341 |
| BASH | 5 | 1564 | 1197 | 218 | 149 |
| Emacs Lisp | 11 | 1662 | 1161 | 313 | 188 |
| Mustache | 15 | 1009 | 923 | 47 | 39 |
| Scheme | 4 | 850 | 706 | 22 | 122 |
| Vim Script | 16 | 783 | 675 | 63 | 45 |
| Batch | 26 | 754 | 565 | 125 | 64 |
| XML | 6 | 503 | 490 | 7 | 6 |
| Dockerfile | 9 | 585 | 345 | 157 | 83 |
| Jupyter Notebooks | 3 | 630 | 324 | 219 | 87 |
| Protocol Buffers | 5 | 381 | 251 | 72 | 58 |
| ReStructuredText | 6 | 319 | 234 | 0 | 85 |
| TOML | 8 | 301 | 226 | 27 | 48 |
| Forge Config | 26 | 293 | 208 | 34 | 51 |
| Scala | 21 | 207 | 207 | 0 | 0 |
| Makefile | 10 | 308 | 180 | 64 | 64 |
| 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 | 106 | 11682 | 0 | 8667 | 3015 |
| Plain Text | 224 | 76197 | 0 | 67799 | 8398 |
Top language (C++ 67.2%). Generated at .
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.
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.
This OctoCounts report was generated from main at commit 4babb62699e4 on 2026-10-21T02:44:27.547448361Z.
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.