[all-commits] [llvm/llvm-project] 592953: [clang][Diagnostics] Only record lexer check point...

Anonmiraj via All-commits all-commits at lists.llvm.org
Mon Jul 13 06:25:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 592953beff733a1e28f6c6e5e39f948fb035a329
      https://github.com/llvm/llvm-project/commit/592953beff733a1e28f6c6e5e39f948fb035a329
  Author: Anonmiraj <ezzibrahimx at gmail.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Lex/Preprocessor.cpp

  Log Message:
  -----------
  [clang][Diagnostics] Only record lexer check points when colors are enabled (#204926)

Only build lexer check points when colored diagnostics are enabled,
since that's the only case where they're ever used,
This should reduce the cost on larger builds.

| Commit | Basket Ir | Delta |
|---|---|---|
| 863b2c84 (Parent) | 30,240,576,150 | — |
| 718aac9f (Commit) | 30,336,607,185 | +0.318% |
| **+ this pr** | **30,279,772,621** | **+0.130%** |


**synthetic error file (12.3k lines, 300 errors):**

| Build | Error-TU Ir (colors on) | Δ vs commit |
|---|---|---|
| 718aac9f (Commit) | 1,386,488,658 | — |
| **+ this pr** | **1,387,140,588** | **+0.05%** |

Resolves #203764

---------

Co-authored-by: Timm Baeder <tbaeder at redhat.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list