[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #117437)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 30 06:10:03 PST 2025


yronglin wrote:

@cor3ntin @erichkeane Many thanks for the review! 

> @yronglin Can you modify hasRebuiltInit() as follow and see if anything breaks? (and if it works we don't need the bit)

Sure, let me give a try. 

> It seems to me the static analyzer should be responsible for this perhaps, and not the AST. 

Yeah, this function was only used in static analyzer now, maybe we can move it into static analyzer's code.


https://github.com/llvm/llvm-project/pull/117437


More information about the cfe-commits mailing list