[PATCH] D60899: [analyzer] Unbreak body farms in presence of multiple declarations.

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 16:32:19 PDT 2019


a_sidorin added a comment.

> Mmm, what are the pros and cons?

This is how we do it in the ASTImporter. It allows us to correctly handle redeclarations with and without bodies - the declarations in the current AST remain unchanged but a new declaration appears.  But it can be a kind of a professional deformation :) BodyFarm is a much lighter facility and I won't argue that my approach is better - just an idea.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60899/new/

https://reviews.llvm.org/D60899





More information about the cfe-commits mailing list