diff options
author | Timm Baeder <tbaeder@redhat.com> | 2025-05-31 19:59:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-31 19:59:55 +0200 |
commit | b9675617af25d674b6f1e22c1ffeb6ae926b0e14 (patch) | |
tree | 0ee2b50cdb9fa29b0ad812967d27d85abe0bae6c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 81602769d830e6791200e8cc7dd10a3afc32570b (diff) | |
download | llvm-b9675617af25d674b6f1e22c1ffeb6ae926b0e14.zip llvm-b9675617af25d674b6f1e22c1ffeb6ae926b0e14.tar.gz llvm-b9675617af25d674b6f1e22c1ffeb6ae926b0e14.tar.bz2 |
[clang][Sema] Optimize ~SemaDiagnosticBuilder (#142252)
Call getDiagnosticLevel(), which is expensive, only if ShowCallStack is
set.
Small gains:
https://llvm-compile-time-tracker.com/compare.php?from=843e362318e884991e517a54446b4faeacdad789&to=5cef0c18466318a426924b3c45f7abaaa8f6b535&stat=instructions:u
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions