[PATCH] D60269: [LibTooling] Add "SourceCode" library for functions relating to source-code manipulation.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 4 08:37:01 PDT 2019


ymandel created this revision.
ymandel added reviewers: ilya-biryukov, ioeric.
Herald added a project: clang.

Introduces a utility library in Refactoring/ to collect routines related to
source-code manipulation.  In this change, we move "extended-range" functions
from the FixIt library (in clangTooling) to this new library.

We need to use this functionality in Refactoring/ and cannot access it if it
resides in Tooling/, because that would cause clangToolingRefactor to depend on
clangTooling, which would be a circular dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60269

Files:
  clang/include/clang/Tooling/FixIt.h
  clang/include/clang/Tooling/Refactoring/SourceCode.h
  clang/lib/Tooling/FixIt.cpp
  clang/lib/Tooling/Refactoring/SourceCode.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60269.193726.patch
Type: text/x-patch
Size: 8562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190404/67df60d6/attachment.bin>


More information about the cfe-commits mailing list