Sirraide wrote: > I'm concerned that we're calling EvaluateKnownConstInt on an lvalue; that > might indicate there's something wrong with the AST. Usually there should be > an lvalue-to-rvalue cast somewhere.
Yeah, I also remember finding that strange, but after looking into it I figured it made sense, but I don’t remmeber why exactly... https://github.com/llvm/llvm-project/pull/97146 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits