jyknight added a comment.

I'm confused about this new strategy of special-casing 
`source_location::current()`. Isn't it wrong to eagerly evaluate _other_ calls 
in default args, as well? ISTM that source_location is simply _exposing_ the 
bug in where we evaluate these expressions, but that it's actually a more 
general problem?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129488

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

Reply via email to