Files
clang-p2996/clang/lib/Index/IndexBody.cpp
Aleksandr Platonov 51094545e2 [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.
2023-10-19 23:09:31 +03:00

18 KiB