Merge branch 'master' of http://llvm.org/git/clang
Moved applyAllReplacementsAndFormat to clangFormat to avoid cyclic dependency.
Details
- Reviewers
klimek
Diff Detail
Event Timeline
include/clang/Format/Format.h | ||
---|---|---|
734–736 | Perhaps: Returns the replacements corresponding to applying and formatting 'Replaces'. | |
741–743 | Given that this is now in a separate file, I'd duplicate the comment from applyAllReplacements and put a "See also" at the end of the comment. | |
750–751 | .... the changed code with all replacements applied and formatted, if successful. The empty string otherwise. | |
unittests/Format/FormatTest.cpp | ||
12 | Yes. | |
11172–11174 | I don't think it's relevant where this is copied from, as it doesn't really contain any code, and is merely a test fixture adapter, which is to be expected. |
Perhaps: Returns the replacements corresponding to applying and formatting 'Replaces'.