mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 03:06:06 +00:00

Fix for regression #130917, changes in #111992 were too broad. This change reduces scope of previous fix. Added `ExternalASTSource::wasThisDeclarationADefinition` to detect cases when FunctionDecl lost body due to declaration merges.