Skip to content
Unverified Commit 51094545 authored by Aleksandr Platonov's avatar Aleksandr Platonov Committed by GitHub
Browse files

[clang][index] Fix processing of CompoundAssignOperator at setting up reference roles (#69370)

Without this patch in expressions like `foo += 1` reference `foo` has no
read and write roles.

This happens because `CompoundAssignOperator` is also a
`BinaryOperator`, thus handling `CompoindAssignOperator` in `else`
branch is a dead code.
parent 616c86ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment