Skip to content
Commit 98f9fcdb 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)

llvm-svn: 311088
parent b5205c69
Loading
Loading
Loading
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