Fix compatibility with python3 of clang-include-fixer.py
authorYannick Brehon <yannickb@google.com>
Tue, 3 Dec 2019 11:52:59 +0000 (12:52 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 3 Dec 2019 11:55:13 +0000 (12:55 +0100)
commitaa189ed25fbd861b07eb5d5116dfd8e33e2b1991
tree766e7447f05f042d1a76022aa849ff9c312c5632
parent7483eb656fd290346e0ad70e553755fe9155e203
Fix compatibility with python3 of clang-include-fixer.py

clang-include-fixer was recently updated to be python3-compatible.
However, an exception handling clause was improperly using the deprecated `message` property of Exception classes, so the code was not yet entirely python3-compatible.

Differential Revision: https://reviews.llvm.org/D70902
clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py