This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add missing parenthesis which triggers a compile error
ClosedPublic

Authored by grokos on Apr 25 2017, 8:23 AM.

Details

Summary

Compiling with -Werror triggers an error due to a missing pair of parentheses:

error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses]

Diff Detail

Repository
rL LLVM

Event Timeline

grokos created this revision.Apr 25 2017, 8:23 AM
This revision is now accepted and ready to land.Apr 25 2017, 9:00 AM
This revision was automatically updated to reflect the committed changes.