aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-10-20 23:09:20 +0000
committerZachary Turner <zturner@google.com>2017-10-20 23:09:20 +0000
commitbcfb5ea8fc6130dd9eb348325c771c80a607cb82 (patch)
tree0b9c51c368a4486fd3cecb8f579e4225922f1689
parentd2b688a3b0d7485bd2d1351babeee4c511cb2e58 (diff)
[clang-tidy] Remove MSVC inline assembly test from cross-plat test.
This originally started out here in dev, but I moved it to another file when it became clear this wouldn't work on non-Windows. Unfortunately I forgot to remove it from this file. Test is still live, just in another source file. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@316247 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/clang-tidy/hicpp-no-assembler.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/clang-tidy/hicpp-no-assembler.cpp b/test/clang-tidy/hicpp-no-assembler.cpp
index 90173312..d08ea74f 100644
--- a/test/clang-tidy/hicpp-no-assembler.cpp
+++ b/test/clang-tidy/hicpp-no-assembler.cpp
@@ -9,9 +9,4 @@ static int s asm("spam");
void f() {
__asm("mov al, 2");
// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: do not use inline assembler in safety-critical code [hicpp-no-assembler]
-
- _asm {
- mov al, 2;
- // CHECK-MESSAGES: :[[@LINE-2]]:3: warning: do not use inline assembler in safety-critical code [hicpp-no-assembler]
- }
}