llvm.org GIT mirror llvm / dd1b7c9
Remove MSan hack that is no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184428 91177308-0d34-0410-b5e6-96231b3b80d8 Evgeniy Stepanov 7 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
223223 #if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_TERMIOS_H)
224224 // Try to determine the width of the terminal.
225225 struct winsize ws;
226 // Zero-fill ws to avoid a false positive from MemorySanitizer.
227 memset(&ws, 0, sizeof(ws));
228226 if (ioctl(FileID, TIOCGWINSZ, &ws) == 0)
229227 Columns = ws.ws_col;
230228 #endif