[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
Wed Oct 25 11:51:29 PDT 2023


================
@@ -28,6 +28,13 @@ 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" {
----------------
PiotrZSL wrote:

put empty line here, this is why documentation fails

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


More information about the cfe-commits mailing list