[clang-tools-extra] Fix #35272: Don't replace typedefs in extern c scope (PR #69102)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 00:34:08 PDT 2023


================
@@ -28,6 +28,15 @@ After:
   using R_t = struct { int a; };
   using R_p = R_t*;
 
+The checker ignores `typedef` within `extern "C" { ... }` blocks.
----------------
PiotrZSL wrote:

Maybe this should be put into configuration option ? To give an option to preserve current behavior.

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


More information about the cfe-commits mailing list