[all-commits] [llvm/llvm-project] 08e389: [APINotes] Skip per-decl ProcessAPINotes work when...
Anonmiraj via All-commits
all-commits at lists.llvm.org
Wed Jun 24 03:19:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08e389cc4a029fb6d659f3f1e277ab3bce461a38
https://github.com/llvm/llvm-project/commit/08e389cc4a029fb6d659f3f1e277ab3bce461a38
Author: Anonmiraj <ezzibrahimx at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/include/clang/APINotes/APINotesManager.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/Sema/SemaAPINotes.cpp
Log Message:
-----------
[APINotes] Skip per-decl ProcessAPINotes work when no API notes are active (#203710)
Cache "any API notes active" and skip per-decl lookups.
| function | before #202727 | trunk (parent) | this PR |
| ------------------------ | ----------------- | ----------------- |
------------------- |
| `Sema::ProcessAPINotes` | 2,385,852 (0.21%) | 1,028,280 (0.09%) |
**365,310 (0.03%)** |
| `UnwindNamespaceContext` | 349,244 | gone | gone |
| `findAPINotes` | 448,140 | 473,550 | **gone** |
cc @egorzhdan @Xazax-hun @compnerd
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