[all-commits] [llvm/llvm-project] f88de0: [Option] Avoid excessive newlines when printing Ar...
Justin Bogner via All-commits
all-commits at lists.llvm.org
Wed Aug 9 16:31:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f88de010ba68b5e30292f6fab6759579a8441df3
https://github.com/llvm/llvm-project/commit/f88de010ba68b5e30292f6fab6759579a8441df3
Author: Justin Bogner <mail at justinbogner.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M llvm/include/llvm/Option/Option.h
M llvm/lib/Option/Arg.cpp
M llvm/lib/Option/Option.cpp
Log Message:
-----------
[Option] Avoid excessive newlines when printing Arg and Option
Arg::print calls Option::print and Option::print calls itself
recursively. Add a flag so we can avoid seemingly random breaks in the
print output of an argument list.
No tests since this only affects debug output.
More information about the All-commits
mailing list