[all-commits] [llvm/llvm-project] 982604: [llvm-tapi-diff] Replicate diff utility error hand...
Cyndy Ishida via All-commits
all-commits at lists.llvm.org
Sat Dec 18 10:14:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 982604cc08caa56fc707fe88cb0050fb99a14de4
https://github.com/llvm/llvm-project/commit/982604cc08caa56fc707fe88cb0050fb99a14de4
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M llvm/test/tools/llvm-tapi-diff/tapi-diff-incorrect-format.test
M llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test
M llvm/tools/llvm-tapi-diff/llvm-tapi-diff.cpp
Log Message:
-----------
[llvm-tapi-diff] Replicate diff utility error handling
For scripting purposes, use different error code for cases that aren't a
result of different tbd files, e.g. bad input like a path to a broken
symlink. This behaves more similiarly to how the unix `diff` command behaves.
This also includes minor tweaks on error messages.
Reviewed By: ributzka, JDevlieghere
Differential Revision: https://reviews.llvm.org/D115905
More information about the All-commits
mailing list