[clang] clang should have a warning to disallow re-externs (PR #109714)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 14:39:33 PDT 2024


Sirraide wrote:

> for example, it would be helpful to warn programmers in this situation

Er, why would that be helpful? This is a valid pattern imo that I have seen here and there from time to time. Is there a specific reason why this is a bad idea?

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


More information about the cfe-commits mailing list