aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMarc Auberer <marc.auberer@chillibits.com>2024-09-28 22:56:11 +0200
committerGitHub <noreply@github.com>2024-09-28 22:56:11 +0200
commite9c0c6604e47a7cda323544217c056f7f5aec888 (patch)
tree3ffa8d05dc90e6fd92b597e98ac0be65166e2acc /clang/lib/CodeGen/CodeGenModule.cpp
parent6022a3a05f951632022c84416209fe6d70d9105c (diff)
downloadllvm-e9c0c6604e47a7cda323544217c056f7f5aec888.zip
llvm-e9c0c6604e47a7cda323544217c056f7f5aec888.tar.gz
llvm-e9c0c6604e47a7cda323544217c056f7f5aec888.tar.bz2
[libc++] Add [[nodiscard]] to std::prev and std::next (#109550)
Add `[[nodiscard]]` attribute to `std::prev` and `std::next`. Those are potential pitfalls for users who might think they mutate the iterator. Fixes #109452
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions