shuaiwang updated this revision to Diff 142739.
shuaiwang added a comment.
Change to just add a helper function `isModified`
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
Files:
clang-tidy/utils/ASTUtils.cpp
clang-tidy/utils/ASTUtils.h
shuaiwang updated this revision to Diff 142730.
shuaiwang added a comment.
Updated mostly `isModified()`.
I'd like to mostly demonstrate that `isModified()` works given that there's
https://reviews.llvm.org/D45444 and we'd like to merge.
Repository:
rCTE Clang Tools Extra
JonasToth added inline comments.
Comment at: clang-tidy/utils/ASTUtils.cpp:85
+ // LHS of any assignment operators.
+ const auto AsAssignmentLhs = binaryOperator(
+ anyOf(hasOperatorName("="), hasOperatorName("+="), hasOperatorName("-="),
there is a
JonasToth added a comment.
Hi @shuaiwang, i am currently working on the same check and we should definilty
coordinate our work. :)
What do you think about joining the forces and to work together on such a check?
Things i would like to mention:
- i differentiate between values and handles. I
Eugene.Zelenko added a comment.
See also https://reviews.llvm.org/D45444.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org