Skip to content

Commit ef34cdf

Browse files
author
Cameron McInally
committed
Add __attribute((uninitialized)) to lib/Driver/ToolChains/CommonArgs.cpp
1 parent a6535b1 commit ef34cdf

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
@@ -3180,7 +3180,7 @@ std::optional<StringRef> tools::ParseMPreferVectorWidthOption(
31803180
return std::nullopt;
31813181

31823182
StringRef Value = A->getValue();
3183-
unsigned Width;
3183+
unsigned Width __attribute((uninitialized));
31843184

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

0 commit comments

Comments
 (0)