Fix clang version check in SARIF diagnostics test
authorYabin Cui <yabinc@google.com>
Thu, 13 Oct 2022 19:16:58 +0000 (15:16 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 13 Oct 2022 19:16:58 +0000 (15:16 -0400)
commit4e6b071509d6300db024d47c8c2791da71470b11
treeb4ba0cb4b1ad04f0135329eb8d475a4b27bd4fd6
parent8c7b3461a5346a66088d884500c2b3c2829b4652
Fix clang version check in SARIF diagnostics test

This is to allow future clang versions and use of LLVM_VERSION_PATCH.

Differential Revision: https://reviews.llvm.org/D135896
clang/test/Frontend/sarif-diagnostics.cpp