[all-commits] [llvm/llvm-project] b96756: [clang][Sema] Optimize ~SemaDiagnosticBuilder (#14...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Sat May 31 11:00:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9675617af25d674b6f1e22c1ffeb6ae926b0e14
https://github.com/llvm/llvm-project/commit/b9675617af25d674b6f1e22c1ffeb6ae926b0e14
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-31 (Sat, 31 May 2025)
Changed paths:
M clang/lib/Sema/Sema.cpp
Log Message:
-----------
[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
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