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

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 22 12:04:50 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.
+
+.. code-block:: c++
+
+  extern "C" {
+
----------------
Da-Viper wrote:

done

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


More information about the cfe-commits mailing list