Skip to content
Snippets Groups Projects
Commit ba3ebcd8 authored by Zachary Turner's avatar Zachary Turner
Browse files

Disable warning about MSVC not found.

When this test runs on bots that are configured to default
to MSVC, but MSVC isn't actually installed, we can emit a
warning that MSVC is not found.  Since MSVC isn't actually
needed for this test to succeed, just disable this warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297858 91177308-0d34-0410-b5e6-96231b3b80d8
parent 9a4d0193
No related branches found
No related tags found
No related merge requests found
...@@ -286,5 +286,5 @@ def err_drv_defsym_invalid_symval : Error<"Value is not an integer: %0">; ...@@ -286,5 +286,5 @@ def err_drv_defsym_invalid_symval : Error<"Value is not an integer: %0">;
def warn_drv_msvc_not_found : Warning< def warn_drv_msvc_not_found : Warning<
"unable to find a Visual Studio installation; " "unable to find a Visual Studio installation; "
"try running Clang from a developer command prompt">, "try running Clang from a developer command prompt">,
InGroup<InvalidOrNonExistentDirectory>; InGroup<DiagGroup<"msvc-not-found">>;
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// Test that link invocations don't emit an "argument unused during compilation" diagnostic. // Test that link invocations don't emit an "argument unused during compilation" diagnostic.
// RUN: touch %t.o // RUN: touch %t.o
// RUN: %clang -Werror -Wno-liblto -Wframe-larger-than=0 %t.o -### 2>&1 | not grep ' error: ' // RUN: %clang -Werror -Wno-msvc-not-found -Wno-liblto -Wframe-larger-than=0 %t.o -### 2>&1 | not grep ' error: '
// TODO: Support rich backend diagnostics for Objective-C methods. // TODO: Support rich backend diagnostics for Objective-C methods.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment