[FileCheck] Better diagnostic for format conflict
authorThomas Preud'homme <thomasp@graphcore.ai>
Sat, 4 Apr 2020 00:02:45 +0000 (01:02 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Wed, 15 Apr 2020 12:46:45 +0000 (13:46 +0100)
commit9743123af817447b527700d3e455b36f1b3f14e3
tree4df0abdf29f712995eeb3a5434ebf6bcc345c6de
parent2a0a26bd9891ad75861d166fe6ccc5aaf798339b
[FileCheck] Better diagnostic for format conflict

Summary:
Improve error message in case of conflict between several implicit
format to mention the operand that conflict.

Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk

Reviewed By: jdenny

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77741
llvm/lib/Support/FileCheck.cpp
llvm/lib/Support/FileCheckImpl.h
llvm/test/FileCheck/numeric-expression.txt
llvm/unittests/Support/FileCheckTest.cpp