From 5a783d0a1f610e5a216a42cca168f55165fc720b Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Tue, 19 Apr 2016 18:49:21 +0000 Subject: [PATCH] [Clang-tidy] Fix extra semicolon warning in cppcoreguidelines/ProTypeMemberInitCheck.cpp. llvm-svn: 266795 --- .../clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp index 645e029..e509354 100644 --- a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp +++ b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp @@ -77,7 +77,7 @@ SourceLocation getLocationForEndOfToken(const ASTContext &Context, SourceLocation Location) { return Lexer::getLocForEndOfToken(Location, 0, Context.getSourceManager(), Context.getLangOpts()); -}; +} // There are 3 kinds of insertion placements: enum class InitializerPlacement { @@ -248,7 +248,7 @@ void forEachField(const RecordDecl *Record, const T &Fields, } } -} // namespace +} // anonymous namespace ProTypeMemberInitCheck::ProTypeMemberInitCheck(StringRef Name, ClangTidyContext *Context) -- 2.7.4