diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-03-30 13:59:49 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-03-30 13:59:49 +0000 |
commit | 0c7bb965336d458a2582cc8542d43bec1330430d (patch) | |
tree | cd473e29e538a35749dfd05b16fc4ef085b6fa58 /clang/test/CodeGen/sret.c | |
parent | 9490b56a89b9ae78656ec7da3ccc332077a200fa (diff) | |
download | bcm5719-llvm-0c7bb965336d458a2582cc8542d43bec1330430d.tar.gz bcm5719-llvm-0c7bb965336d458a2582cc8542d43bec1330430d.zip |
Prepare tests for change to emit Module SourceFileName to LLVM assembly
Modify these tests to ignore the source file name when looking for the
expected string. It was already catching the source file name once via
the ModuleID, and will catch it another time with an impending change to
LLVM to serialize out the module's SourceFileName.
llvm-svn: 264868
Diffstat (limited to 'clang/test/CodeGen/sret.c')
-rw-r--r-- | clang/test/CodeGen/sret.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/sret.c b/clang/test/CodeGen/sret.c index 5f0d07404a1..201e3b87f8b 100644 --- a/clang/test/CodeGen/sret.c +++ b/clang/test/CodeGen/sret.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 5 +// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | grep -v 'sret.c' | count 4 struct abc { long a; |