omtcyfz added a comment. In https://reviews.llvm.org/D23279#510147, @alexshap wrote:
> Suppose you have a struct Foo defined in LibA and you have used clang-rename > to rename Foo into Bar (or just a field of Foo say - you have renamed Foo::x > into Foo::y); LibA is linked to LibB and you have Foo foo = { &x, 17, 1.29, 0 > }; in LibB. Therefore LibA knows nothing of struct Foo usages in LibB. Thus, > the struct constructions and everything related stays exactly the same in > LibB. > > It's not clear to me why the issue is specific to this particular tool (maybe > i am bit sleepy and missing smth). Because `LibB` becomes broken. Repository: rL LLVM https://reviews.llvm.org/D23279 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits