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

2024-10-09 Thread Jeffrey Crowell via cfe-commits
https://github.com/jchcrsp updated https://github.com/llvm/llvm-project/pull/109714 >From 8f512e2a8ad110b1a74c4283f81d4e28555e7567 Mon Sep 17 00:00:00 2001 From: Jeffrey Crowell Date: Mon, 23 Sep 2024 16:17:32 -0400 Subject: [PATCH] clang should have a warning to disallow re-externs clang shou

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

2024-10-09 Thread Jeffrey Crowell via cfe-commits
jchcrsp wrote: Ping fixed merge conflict https://github.com/llvm/llvm-project/pull/109714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2024-09-23 Thread Jeffrey Crowell via cfe-commits
https://github.com/jchcrsp created https://github.com/llvm/llvm-project/pull/109714 clang should have a warning to disallow re-externs from the main C translation unit for example, it would be helpful to warn programmers in this situation ```c // file1.c extern int func(int a, int b); int som

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

2024-10-01 Thread Jeffrey Crowell via cfe-commits
jchcrsp wrote: Ping https://github.com/llvm/llvm-project/pull/109714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits