Skip to content

Commit

Permalink
[driver] [analyzer] Fix redundant test output.
Browse files Browse the repository at this point in the history
The -c flag causes a .o file to appear every time we run a test.
Remove it.

Differential Revision: https://reviews.llvm.org/D55823

rdar://problem/46504165

llvm-svn: 349835
  • Loading branch information
haoNoQ committed Dec 20, 2018
1 parent 200ed01 commit c93968a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion clang/test/Analysis/invalid-a-na-ly-zer-con-fig-value.c
Expand Up @@ -72,7 +72,8 @@

// Test the driver properly using "analyzer-config-compatibility-mode=true",
// even if -analyze isn't specified.
// RUN: %clang -c -Xclang -analyzer-config -Xclang remember=TheVasa %s
// RUN: %clang -fsyntax-only -Xclang -analyzer-config\
// RUN: -Xclang remember=TheVasa %s

// expected-no-diagnostics

Expand Down
3 changes: 2 additions & 1 deletion clang/test/Analysis/invalid-analyzer-config-value.c
Expand Up @@ -68,7 +68,8 @@

// Test the driver properly using "analyzer-config-compatibility-mode=true",
// even if -analyze isn't specified.
// RUN: %clang -c -Xclang -analyzer-config -Xclang remember=TheVasa %s
// RUN: %clang -fsyntax-only -Xclang -analyzer-config\
// RUN: -Xclang remember=TheVasa %s

// expected-no-diagnostics

Expand Down

0 comments on commit c93968a

Please sign in to comment.