[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:20 PDT 2025


================
@@ -304,31 +307,41 @@ bool Process::FileDescriptorIsDisplayed(int fd) {
 #endif
 }
 
-static unsigned getColumns() {
+static unsigned getColumns([[maybe_unused]] int FileID) {
----------------
MaskRay wrote:

We don't use maybe_unused for arguments. 

https://github.com/llvm/llvm-project/pull/143514


More information about the llvm-commits mailing list