Re: Issue 903 in include-what-you-use: iwyu_tool.py fails with AttributeError: 'NoneType' object has no attribute 'rfind'

0 views
Skip to first unread message

notifi...@include-what-you-use.org

unread,
Jun 8, 2021, 1:27:36 AMJun 8
to include-wh...@googlegroups.com
Comment #2 on issue 903 by kimgr: iwyu_tool.py fails with AttributeError: 'NoneType' object has no attribute 'rfind'
https://github.com/include-what-you-use/include-what-you-use/issues/903

@SoftwareApe Hmm, that's already checked for first thing in `main`... That error handling was added for the 0.14/clang_10 release. Which version did you see this in?

notifi...@include-what-you-use.org

unread,
Jun 8, 2021, 1:59:09 AMJun 8
to include-wh...@googlegroups.com
Comment #2 on issue 903 by SoftwareApe: iwyu_tool.py fails with AttributeError: 'NoneType' object has no attribute 'rfind'
https://github.com/include-what-you-use/include-what-you-use/issues/903

@kimgr Hi, I used the clang 8 version, since we're using clang 8 for the foreseeable future.

notifi...@include-what-you-use.org

unread,
Jun 8, 2021, 5:03:55 AMJun 8
to include-wh...@googlegroups.com
Comment #3 on issue 903 by kimgr: iwyu_tool.py fails with AttributeError: 'NoneType' object has no attribute 'rfind'
https://github.com/include-what-you-use/include-what-you-use/issues/903

I see. The backportable patch is here, fwiw: 3e17d6156c53c05c0ea10f6901cec02c6af7de35.

Closing this issue as it's already fixed on mainline.

Reply all
Reply to author
Forward
0 new messages