[cfe-dev] Clang Format not-deterministic?
Whisperity via cfe-dev
cfe-dev at lists.llvm.org
Mon Dec 3 04:21:52 PST 2018
There is nothing non-deterministic about this, the behaviour is
well-documented if you say "--help":
-i - Inplace edit <file>s, if specified.
-output-replacements-xml - Output replacements as XML.
Bram De Jong via cfe-dev <cfe-dev at lists.llvm.org> ezt írta (időpont: 2018.
dec. 3., H, 11:30):
> Hi All,
>
> I've been noticing that clang-format either seems to be non-deterministic
> or there is a difference between "-i" and "-output-replacements-xml".
>
> I.e. if you do:
> $ clang-format -style=file -i source_code.cpp
> $ clang-format -style=file -output-replacements-xml source_code.cpp
>
> The second command outputs replacements...
>
> Should I file a bug for this and if so, where?
>
> Bram
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181203/c21ca782/attachment.html>
More information about the cfe-dev
mailing list