[PATCH] D82954: Fix crash on overloaded postfix unary operators due to invalid sloc

Eduardo Caldas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 01:03:18 PDT 2020


eduucaldas updated this revision to Diff 275315.
eduucaldas added a comment.

- Remove predicates in `CXXOperatorCallExpr`.
- Implement getOperatorNodeKind to dispatch from `CXXOperatorCallExpr` to syntax constructs  like `BinaryOperatorExpression`, `PrefixUnaryOperatorExpression`...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82954/new/

https://reviews.llvm.org/D82954

Files:
  clang/lib/Tooling/Syntax/BuildTree.cpp
  clang/unittests/Tooling/Syntax/TreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82954.275315.patch
Type: text/x-patch
Size: 6266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200703/b32660e3/attachment-0001.bin>


More information about the cfe-commits mailing list