[llvm-branch-commits] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Apr 13 08:27:50 PDT 2025


================
@@ -1392,6 +1392,10 @@ class ASTReader
 
   llvm::DenseMap<const Decl *, bool> DefinitionSource;
 
+  /// Friend functions that were defined but might have had their bodies
+  /// removed.
+  llvm::DenseSet<const FunctionDecl *> ThisDeclarationWasADefinitionSet;
----------------
nikic wrote:

This is an ABI break.

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


More information about the llvm-branch-commits mailing list