[PATCH] D84348: WIP: Add complete id-expression support to syntax trees

Eduardo Caldas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 10:45:38 PDT 2020


eduucaldas added inline comments.


================
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:789
+    // Remove "::" from the `SourceRange`
+    SR.setEnd(SR.getEnd().getLocWithOffset(-1));
+
----------------
Newbie mistake. Corrected in latter commit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84348



More information about the cfe-commits mailing list