Details
Diff Detail
- Repository
- rC Clang
Event Timeline
It seems like we have some assumptions about what people might be trying to do in most of the cases, but i think it is OK since this never performs worse than the older version.
| lib/Parse/ParseExpr.cpp | ||
|---|---|---|
| 395–396 | maybe update the comment as well to reflect it is not only for assignments. | |
| lib/Sema/SemaCodeComplete.cpp | ||
| 4928 | why not LHSType ? | |
| 4935 | maybe also state the assumption for bitwise operators, or maybe just move to right after shift operators | |
| unittests/Sema/CodeCompleteTest.cpp | ||
| 295 | s/time/type/ ? | |
Thanks for the review!
| lib/Sema/SemaCodeComplete.cpp | ||
|---|---|---|
| 4928 | The shifts are non-symmetrical, so it didn't feel the link between lhs and rhs provided much value. It's not a very strong argument, though, happy to change this code later. | |
| lib/Sema/SemaCodeComplete.cpp | ||
|---|---|---|
| 4928 | yeah you are right, it makes more sense this way. | |
maybe update the comment as well to reflect it is not only for assignments.