[clang] [clang-tools-extra] [Clang] Implement CWG2813: Class member access with prvalues (PR #120223)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 17 06:30:29 PST 2024
================
@@ -10659,6 +10659,11 @@ class Sema final : public SemaBase {
SourceLocation EndLoc);
void ActOnForEachDeclStmt(DeclGroupPtrTy Decl);
+ /// DiagnoseDiscardedExprMarkedNodiscard - Given an expression that is
+ /// semantically a discarded-value expression, diagnose if any [[nodiscard]]
+ /// value has been discarded
----------------
erichkeane wrote:
```suggestion
/// value has been discarded.
```
https://github.com/llvm/llvm-project/pull/120223
More information about the cfe-commits
mailing list