[clang] [clang][Diagnostics] Highlight code snippets (PR #66514)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 25 23:20:27 PDT 2023


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/66514/clang at github.com>


tbaederr wrote:

On a fast machine, the timings with a Release build of clang are:
```
/root/llvm-project/clang/lib/Sema/SemaExpr.cpp:21870:15: error: static assertion failed
Lexed 21870 lines and 174105 Tokens
That took 14079 microseconds
That took 14 milliseconds
That took 0 seconds
```
There's no code being generated, so the entire command takes 9s. Without the assertion (for a successful build), the command takes 40s.

https://github.com/llvm/llvm-project/pull/66514


More information about the cfe-commits mailing list