This is an archive of the discontinued LLVM Phabricator instance.

[adt] Fix compiler warning in test
ClosedPublic

Authored by springerm on Dec 11 2021, 5:09 PM.

Diff Detail

Unit TestsFailed

Event Timeline

springerm requested review of this revision.Dec 11 2021, 5:09 PM
springerm created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2021, 5:09 PM

See commit d79bb30dbb08910816859ccaae1ca5d04fbd9501

This avoids a -pedantic warning:
warning: ISO C++11 requires at least one argument for the "..." in a variadic macro

See also https://github.com/google/googletest/issues/2271

This revision was not accepted when it landed; it landed in state Needs Review.Dec 14 2021, 11:18 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.