[PATCH] D46176: Pull helper class Environment from clangFormat into libToolingCore [NFC]
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 27 00:45:32 PDT 2018
ioeric created this revision.
ioeric added a reviewer: djasper.
Herald added subscribers: cfe-commits, mgorny, klimek.
This can be used to create a virtual environment (incl. VFS, source manager) for
code snippets. The existing clang::format::Environment is implemented based
on the new clang::tooling::Environment with additional formatting specific
environment.
Repository:
rC Clang
https://reviews.llvm.org/D46176
Files:
include/clang/Tooling/Core/Environment.h
lib/Format/Format.cpp
lib/Format/SortJavaScriptImports.cpp
lib/Format/TokenAnalyzer.cpp
lib/Format/TokenAnalyzer.h
lib/Tooling/Core/CMakeLists.txt
lib/Tooling/Core/Environment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46176.144289.patch
Type: text/x-patch
Size: 16851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180427/0e6670dd/attachment-0001.bin>
More information about the cfe-commits
mailing list