[all-commits] [llvm/llvm-project] 150fe0: [Test] Fix undef var in catch-undef-behavior.c
RoboTux via All-commits
all-commits at lists.llvm.org
Wed Dec 16 14:40:03 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 150fe05db4417c3ed9e4470b7bbd1a6aee7fe505
https://github.com/llvm/llvm-project/commit/150fe05db4417c3ed9e4470b7bbd1a6aee7fe505
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths:
M clang/test/CodeGen/catch-undef-behavior.c
Log Message:
-----------
[Test] Fix undef var in catch-undef-behavior.c
Commit 9e52c43090f8cd980167bbd2719878ae36bcf6b5 removed the directive
defining LINE_1600 but left a string substitution to that variable in a
CHECK-NOT directive. This will make that CHECK-NOT directive always fail
to match, no matter the string.
This commit follows the pattern done in
9e52c43090f8cd980167bbd2719878ae36bcf6b5 of simplifying the CHECK-NOT to
only look for the function name and the opening parenthesis, thereby not
requiring the LINE_1600 variable.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D93350
More information about the All-commits
mailing list