[DebugInfo][test] Simplify/improve a few tests using --impicit-check-not=DW_TAG. NFC
authorKristina Bessonova <kbessonova@accesssoftek.com>
Sat, 13 Nov 2021 15:31:54 +0000 (17:31 +0200)
committerKristina Bessonova <kbessonova@accesssoftek.com>
Sat, 13 Nov 2021 15:31:54 +0000 (17:31 +0200)
commit33af58937bd2293e9fff44f4aa1a0cdd5cd9455e
tree17db3d0889596d619abc1a46716ff2cbc108ea48
parent6e58d14e5b012215007ae375006f5e847a9b61bc
[DebugInfo][test] Simplify/improve a few tests using --impicit-check-not=DW_TAG. NFC

This patch rewrites checks in a few debug info tests to avoid using
'CHECK-NOT: {{DW_TAG|NULL}}'. It proposes `--impicit-check-not=DW_TAG`
instead, as it makes the checks clearer, and easier to analyze and update.

Differential Revision: https://reviews.llvm.org/D113652
llvm/test/DebugInfo/Generic/PR20038.ll
llvm/test/DebugInfo/Generic/namespace.ll
llvm/test/DebugInfo/X86/align_c11.ll
llvm/test/DebugInfo/X86/align_cpp11.ll
llvm/test/DebugInfo/X86/align_objc.ll
llvm/test/DebugInfo/X86/gnu-public-names.ll