[clang] [Clang] Implement the core language parts of P2786 - Trivial relocation (PR #127636)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 24 09:46:19 PST 2025


================
@@ -3808,13 +3867,38 @@ void Parser::ParseCXXMemberSpecification(SourceLocation RecordLoc,
   SourceLocation AbstractLoc;
   bool IsFinalSpelledSealed = false;
   bool IsAbstract = false;
+  SourceLocation TriviallyRelocatable;
+  SourceLocation Replacable;
----------------
Fznamznon wrote:

```suggestion
  SourceLocation Replaceable;
```

https://github.com/llvm/llvm-project/pull/127636


More information about the cfe-commits mailing list