Skip to content

Commit 8b69907

Browse files
author
Cameron McInally
committed
Remove __attribute((uninitialized))
Remove __attribute((uninitialized)) as it's not supported on Windows.
1 parent 121c41a commit 8b69907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3177,7 +3177,7 @@ StringRef tools::ParseMPreferVectorWidthOption(clang::DiagnosticsEngine &Diags,
31773177
return "";
31783178

31793179
StringRef Value = A->getValue();
3180-
unsigned Width __attribute((uninitialized));
3180+
unsigned Width;
31813181

31823182
// Only "none" and Integer values are accepted by
31833183
// -mprefer-vector-width=<value>.

0 commit comments

Comments
 (0)