]> granicus.if.org Git - clang/commit
PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Sep 2011 03:01:15 +0000 (03:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Sep 2011 03:01:15 +0000 (03:01 +0000)
commit2315318436b3e94d54c220c3b8986e8002394a43
tree9d62d8e07a8ee845ce422bed224835b6bec51f16
parent335a13f069b25b0228d1e9e7cb55a83e6f8058fa
PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:

  RUN: foo
  RUN: bar || true

is equivalent to:

  RUN: foo && bar || true

which is equivalent to:

  RUN: (foo && bar) || true

This resulted in several of the fixit tests not really testing anything.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139132 91177308-0d34-0410-b5e6-96231b3b80d8
test/FixIt/fixit-cxx0x.cpp
test/FixIt/fixit-errors.c
test/FixIt/fixit-function-call.cpp
test/FixIt/fixit-missing-method-return-type.m
test/FixIt/fixit-objc-message.m
test/FixIt/fixit-static-object-decl.m
test/FixIt/fixit.c
test/FixIt/fixit.cpp
test/Sema/format-strings-fixit.c