[clang-tools-extra] [clang-tidy] Rename hicpp-no-assembler to portability-no-assembler, keep hicpp as alias (PR #184030)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 5 08:42:56 PST 2026
================
@@ -0,0 +1,11 @@
+.. title:: clang-tidy - portability-no-assembler
+
+portability-no-assembler
+========================
+
+Checks for assembler statements. Use of inline assembly should be avoided
+since it restricts the portability of the code.
----------------
vbvictor wrote:
```suggestion
Checks for assembler statements. Use of inline assembly should be avoided
since it ties to a specific CPU architecture and syntax making code that
uses it non-portable across platforms.
```
https://github.com/llvm/llvm-project/pull/184030
More information about the cfe-commits
mailing list