================
@@ -0,0 +1,14 @@
+.. 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.
+
+.. code-block:: c++
+
+   asm("mov al, 2");  // warning: do not use assembler statements
+
+`hicpp-no-assembler` is an alias for this check that enforces rule 7.5.1 of
----------------
akparmar004 wrote:

Yeah will update it..

https://github.com/llvm/llvm-project/pull/184030
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to