This is an archive of the discontinued LLVM Phabricator instance.

Use a manipulator to add a value to the current diagnostic flag.
ClosedPublic

Authored by dnovillo on Apr 22 2014, 9:20 AM.

Diff Detail

Event Timeline

dnovillo updated this revision to Diff 8733.Apr 22 2014, 9:20 AM
dnovillo retitled this revision from to Use a manipulator to add a value to the current diagnostic flag..
dnovillo updated this object.
dnovillo added a reviewer: rsmith.
dnovillo added a subscriber: Unknown Object (MLST).
rsmith accepted this revision.Apr 22 2014, 12:48 PM
rsmith edited edge metadata.

LGTM with some tiny tweaks, thanks!

include/clang/Basic/Diagnostic.h
696

The .str() should not be necessary here.

1016

Please make this constructor explicit.

1123

clear is a more common way of spelling this than erase.

This revision is now accepted and ready to land.Apr 22 2014, 12:48 PM
dnovillo closed this revision.Apr 29 2014, 7:24 AM