[PATCH] D40481: [libclang] Fix cursors for arguments of Subscript and Call operators

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 03:28:46 PST 2017


yvvan added inline comments.


================
Comment at: tools/libclang/CIndex.cpp:6888
+      const SourceLocation fixedEnd =
+          RefNameRange.getEnd().getLocWithOffset(-1);
+      RefNameRange = SourceRange(RefNameRange.getBegin(), fixedEnd);
----------------
nik wrote:
> yvvan wrote:
> > 4 spaces indentation instead of 2
> That's not me, but clang-format, so I guess it's fine as is.
oh, you're right. it's ok here and in the next one


https://reviews.llvm.org/D40481





More information about the cfe-commits mailing list