Put helper classes into anonymous namespace.

llvm-svn: 185295
This commit is contained in:
Craig Topper
2013-06-30 22:29:28 +00:00
parent a8a50248d8
commit af35e8521a

View File

@@ -248,6 +248,8 @@ static unsigned getLengthToMatchingParen(const FormatToken &Tok) {
return End->TotalLength - Tok.TotalLength + 1;
}
namespace {
class UnwrappedLineFormatter {
public:
UnwrappedLineFormatter(const FormatStyle &Style, SourceManager &SourceMgr,
@@ -1639,6 +1641,8 @@ private:
encoding::Encoding Encoding;
};
} // end anonymous namespace
tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
SourceManager &SourceMgr,
std::vector<CharSourceRange> Ranges) {