[clang] [clang][ssaf][NFC] Rework how the Force linker anchors are defined and used (PR #189409)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 20 09:07:38 PDT 2026


================
@@ -33,26 +33,29 @@ constructors unconditionally.
 The solution: anchor symbols
 ****************************
 
-Each registration translation unit defines a ``volatile int`` **anchor symbol**:
+Each registration translation unit defines a ``const volatile int`` **anchor symbol**:
 
 .. code-block:: c++
 
-  // In MyExtractor.cpp — next to the registry Add<> object
+  // In MyExtractor.cpp - next to the registry Add<> object in the `clang::ssaf` namespace
----------------
steakhal wrote:

```suggestion
  // In MyExtractor.cpp - next to the registry Add<> object in the ``clang::ssaf`` namespace
```

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


More information about the cfe-commits mailing list