summaryrefslogtreecommitdiffstats
path: root/include/clang/Format
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Format')
-rw-r--r--include/clang/Format/Format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Format/Format.h b/include/clang/Format/Format.h
index e695b8cd7d..3600c416b9 100644
--- a/include/clang/Format/Format.h
+++ b/include/clang/Format/Format.h
@@ -773,6 +773,8 @@ tooling::Replacements formatReplacements(StringRef Code,
/// \brief Returns the replacements corresponding to applying \p Replaces and
/// cleaning up the code after that.
+/// This also inserts a C++ #include directive into the correct block if the
+/// replacement corresponding to the header insertion has offset UINT_MAX.
tooling::Replacements
cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces,
const FormatStyle &Style);