diff options
author | halbi2 <hehiralbi@gmail.com> | 2025-07-28 09:26:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 09:26:28 -0400 |
commit | a63bbf2f1e0d1e1367fb111290ba8d652572d724 (patch) | |
tree | 3ad2ac305d23822ed426b144265d12d00cf4b69e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5dc9937ea910f807d3e7325669053c5740545875 (diff) | |
download | llvm-a63bbf2f1e0d1e1367fb111290ba8d652572d724.zip llvm-a63bbf2f1e0d1e1367fb111290ba8d652572d724.tar.gz llvm-a63bbf2f1e0d1e1367fb111290ba8d652572d724.tar.bz2 |
[clang] Diagnose [[nodiscard]] return types in Objective-C++ (#142541)
My solution was to copy-paste getUnusedResultAttr and
hasUnusedResultAttr from CallExpr into ObjCMessageExpr too.
Fixes #141504
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions