diff options
| author | Kazu Hirata <kazu@google.com> | 2025-09-27 09:05:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-27 09:05:08 -0700 |
| commit | 3163fcfa453dce61aa06da05272a660b18407623 (patch) | |
| tree | 8e58995be22d2cfeaab568989413529a724afff5 /llvm/tools/llvm-diff/lib | |
| parent | 54beb58ae6a6e93a9da2e1cf219e2f37df535084 (diff) | |
| download | llvm-3163fcfa453dce61aa06da05272a660b18407623.zip llvm-3163fcfa453dce61aa06da05272a660b18407623.tar.gz llvm-3163fcfa453dce61aa06da05272a660b18407623.tar.bz2 | |
[ADT] Add [[nodiscard]] to set/map classes (NFC) (#160978)
This patch adds [[nodiscard]] to user-facing functions in set/map
classes if they are:
- const and return non-void values (e.g., size()), or
- non-const and have no side effects (e.g., find()).
Diffstat (limited to 'llvm/tools/llvm-diff/lib')
0 files changed, 0 insertions, 0 deletions
