[cfe-dev] Question re post-condition of clang::format::reformat()

Manuel Klimek klimek at google.com
Sun Sep 8 05:12:12 PDT 2013


On Wed, Sep 4, 2013 at 10:31 PM, Vane, Edwin <edwin.vane at intel.com> wrote:

> Does clang::format::reformat() guarantee that the replacements it
> generates contain no duplicates and will not conflict with one another? Or
> is a call to tooling::deduplicateAndDetectConflicts() necessary? I suppose
> there's no problem updating the docs to reflect the answer to this question?
>

Yes, clang-format guarantees this. We might want to update the docs...


>
> --
> Edwin Vane
>   Software Developer
>   Intel of Canada, Inc.
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130908/ace65fb2/attachment.html>


More information about the cfe-dev mailing list