[clang-tidy] Fixed crash 44745 in readability-else-after-return
authorNathan James <n.james93@hotmail.co.uk>
Sun, 2 Feb 2020 14:04:25 +0000 (14:04 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Sun, 2 Feb 2020 14:04:46 +0000 (14:04 +0000)
commitd591bdce6d623208d4aeb335a762d839f0f8f0f7
treee9dfaaa2afdee7272e7ee032dac0b99ab4c254ff
parentd431c5d9af22338100c0be71cccfcd3ab425848e
[clang-tidy] Fixed crash 44745 in readability-else-after-return

Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44745 | readability-else-after-return crashes ]]

Reviewers: aaron.ballman, alexfh, hokein, JonasToth, gribozavr2

Reviewed By: alexfh

Subscribers: merge_guards_bot, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D73841
clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp