]> granicus.if.org Git - clang/commit
Sidestep false positive due to a matching git repository name
authorRoger Ferrer Ibanez <rofirrim@gmail.com>
Mon, 5 Aug 2019 10:09:06 +0000 (10:09 +0000)
committerRoger Ferrer Ibanez <rofirrim@gmail.com>
Mon, 5 Aug 2019 10:09:06 +0000 (10:09 +0000)
commitb9996429350445acbd38f01292fd335af22b2a76
tree34703329296cc3e15ab165a437e75b9e3c5c28ac
parent38f86bfca3c2f5221a2d8cfa03148899d2ece479
Sidestep false positive due to a matching git repository name

I have failures in this test because the grep @b gets confused by the
clang version including a repository name like this

!1 = !{!"clang version 10.0.0 (git@build-machine:llvm/llvm-monorepo.git fe958c0e8c89ec663c8e551936778e2cbb460154)"}

I considered something like grep -w but my understanding of the manpages
was that that isn't super portable. So I think it is easier to make
clang not to output that metadata using -fno-ident.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367826 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/constant-comparison.c