[PATCH] D18399: Added support for different VFSs in format::getStyle.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 23 09:01:04 PDT 2016
ioeric created this revision.
ioeric added reviewers: klimek, djasper.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
Previously, format::getStyle assumes that the given file resides in
the real file system, which prevents the use of virtual file system in testing etc.
This patch adds a parameter in format::getStyle interface so that users can specify
the right file system. By default, the file system is the real file system.
http://reviews.llvm.org/D18399
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18399.51425.patch
Type: text/x-patch
Size: 5290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/86eb71fd/attachment-0001.bin>
More information about the cfe-commits
mailing list