Eugene.Zelenko added a comment. In https://reviews.llvm.org/D45679#1071116, @JonasToth wrote:
> You are doing a great job and i learn new stuff :) > > - What do you think about having these functions in a class? Now, we need to > recalculate and reanalyze the scope for every variable, multiple times > (reference tracking). It would be nice to do it as lazy as possible and > memorize the results. Especially addressing the use-case for the const-check, > storing that a reference is not modified will save a lot of work = performance It may be reasonable to have variables/data members dependencies graph and mark them as constant/non constant. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D45679 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits