[llvm] [LLVM] [Support] Query the terminal width using the termios API (PR #143514)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 15 00:40:21 PDT 2025
================
@@ -304,31 +307,41 @@ bool Process::FileDescriptorIsDisplayed(int fd) {
#endif
}
-static unsigned getColumns() {
+static unsigned getColumns([[maybe_unused]] int FileID) {
// If COLUMNS is defined in the environment, wrap to that many columns.
----------------
MaskRay wrote:
Add "This matches GCC".
https://github.com/llvm/llvm-project/pull/143514
More information about the llvm-commits
mailing list