# llvm/llvm-project SLOC report

> As of 2026-10-10 (commit 6bcb0a8b3d94), llvm/llvm-project contains 11,534,346 total lines: 8,296,796 code, 1,811,011 comments, 1,426,539 blank, across 36,904 files in 49 languages (top: C++ 67.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

llvm/llvm-project has 8,296,796 source lines of code out of 11,534,346 total lines across 36,904 files, counted from the main ref at commit 6bcb0a8b3d94 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 13,667 | 7,441,989 | 5,578,778 | 977,417 | 885,794 |
| C Header | 15,355 | 2,767,681 | 1,719,925 | 640,346 | 407,410 |
| C | 958 | 249,707 | 171,078 | 46,912 | 31,717 |
| C++ Header | 619 | 208,687 | 165,366 | 22,008 | 21,313 |
| Python | 725 | 167,005 | 132,354 | 12,541 | 22,110 |
| CMake | 2,545 | 155,130 | 128,012 | 10,747 | 16,371 |
| Bitbake | 522 | 113,220 | 101,965 | 5,292 | 5,963 |
| Bazel | 128 | 64,268 | 57,915 | 1,514 | 4,839 |
| GNU Style Assembly | 257 | 53,031 | 39,763 | 9,483 | 3,785 |
| HTML | 49 | 38,729 | 37,550 | 428 | 751 |
| Module-Definition | 185 | 39,731 | 34,905 | 0 | 4,826 |
| YAML | 184 | 32,941 | 32,547 | 184 | 210 |

Top language (C++ 67.2%). Generated at 2026-10-10T01:02:18.972236995+00:00. Canonical report: https://octocounts.com/github/llvm/llvm-project

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/llvm/llvm-project/commit/6bcb0a8b3d941650fda2157149c96a98b33eec14?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does llvm/llvm-project have?

llvm/llvm-project has 11,534,346 total lines, including 8,296,796 code lines, 1,811,011 comment lines, and 1,426,539 blank lines.

### How was the llvm/llvm-project line count measured?

OctoCounts resolved the public GitHub repository to commit 6bcb0a8b3d94, 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 6bcb0a8b3d94 on 2026-10-10T01:02:18.972236995+00:00.

## Similar repository reports

- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 7,561,253 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,607,211 code lines
- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,388,762 code lines
- [LibreOffice/core](https://octocounts.com/github/LibreOffice/core) — C++, 6,342,825 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,125,045 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,120,340 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
