[clang-tools-extra] r211834 - Make clang-tidy-diff.py py3-compatible.
Alexander Kornienko
alexfh at google.com
Fri Jun 27 01:42:21 PDT 2014
Thanks!
On 27 Jun 2014 02:22, "NAKAMURA Takumi" <geek4civic at gmail.com> wrote:
> Author: chapuni
> Date: Thu Jun 26 20:10:18 2014
> New Revision: 211834
>
> URL: http://llvm.org/viewvc/llvm-project?rev=211834&view=rev
> Log:
> Make clang-tidy-diff.py py3-compatible.
>
> Modified:
> clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py
>
> Modified: clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py
> URL:
> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py?rev=211834&r1=211833&r2=211834&view=diff
>
> ==============================================================================
> --- clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py (original)
> +++ clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py Thu Jun 26
> 20:10:18 2014
> @@ -92,7 +92,7 @@ def main():
> lines_by_file.setdefault(filename, []).append([start_line,
> end_line])
>
> if len(lines_by_file) == 0:
> - print "No relevant changes found."
> + print("No relevant changes found.")
> sys.exit(0)
>
> line_filter_json = json.dumps(
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140627/1c06d57e/attachment.html>
More information about the cfe-commits
mailing list