martong added a comment.

> I think you should change back to getInit()

I am not entirely sure about this because the initalizer may not be attached to 
the canonical decl. `getInit()` gives the initializer of one given specific 
Decl, however, `getAnyInitializer()` searches through the whole redecl chain.


Repository:
  rC Clang

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

https://reviews.llvm.org/D46421



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to