[PATCH] D38549: [clang-tidy] Link targets and Asm parsers

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 15:24:38 PDT 2017


alexfh added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/hicpp-no-assembler.cpp:13-16
+  _asm {
+    mov al, 2;
+    // CHECK-MESSAGES: :[[@LINE-2]]:3: warning: do not use inline assembler in safety-critical code [hicpp-no-assembler]
+  }
----------------
Will this compile on linux and mac? If no, maybe a separate test just for windows is the way to go.


https://reviews.llvm.org/D38549





More information about the cfe-commits mailing list