[PATCH] D58556: [LibTooling] Add "smart" retrieval of AST-node source to FixIt library

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 10 19:29:18 PDT 2019


ymandel updated this revision to Diff 190037.
ymandel marked an inline comment as done.
ymandel edited the summary of this revision.
ymandel added a comment.

This update significantly simplifies the change.  It removes any "smarts", instead allowing the user to request the extension of the source range to include the next specified token (if present).  This turns out to be a more basic and useful function for the needs of the upcoming changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58556

Files:
  clang/include/clang/Tooling/FixIt.h
  clang/lib/Tooling/FixIt.cpp
  clang/unittests/Tooling/FixItTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58556.190037.patch
Type: text/x-patch
Size: 7118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190311/fa3e67c8/attachment-0001.bin>


More information about the cfe-commits mailing list