ΒΆtooling::Replacements fixNamespaceEndComments(
const clang::format::FormatStyle& Style,
llvm::StringRef Code,
ArrayRef<tooling::Range> Ranges,
llvm::StringRef FileName = "<stdin>")
tooling::Replacements fixNamespaceEndComments(
const clang::format::FormatStyle& Style,
llvm::StringRef Code,
ArrayRef<tooling::Range> Ranges,
llvm::StringRef FileName = "<stdin>")
Description
Fix namespace end comments in the given \p Ranges in \p Code. Returns the ``Replacements`` that fix the namespace comments in all\p Ranges in \p Code.
Declared at: clang/include/clang/Format/Format.h:4188
Parameters
- const clang::format::FormatStyle& Style
- llvm::StringRef Code
- ArrayRef<tooling::Range> Ranges
- llvm::StringRef FileName = "<stdin>"