Skip to content
Snippets Groups Projects
Commit d4d12878 authored by Alex Lorenz's avatar Alex Lorenz
Browse files

Unguarded availability diagnoser should use TraverseStmt instead of

Base::TraverseStmt when visiting the then/else branches of if statements

This ensures that the statement stack is correctly tracked and correct
multi-statement fixit is generated inside of an if (@available)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311088 91177308-0d34-0410-b5e6-96231b3b80d8
parent 05fae15d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment