[clang-tools-extra] r266795 - [Clang-tidy] Fix extra semicolon warning in cppcoreguidelines/ProTypeMemberInitCheck.cpp.

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 11:49:21 PDT 2016


Author: eugenezelenko
Date: Tue Apr 19 13:49:21 2016
New Revision: 266795

URL: http://llvm.org/viewvc/llvm-project?rev=266795&view=rev
Log:
[Clang-tidy] Fix extra semicolon warning in cppcoreguidelines/ProTypeMemberInitCheck.cpp.

Modified:
    clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp?rev=266795&r1=266794&r2=266795&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp Tue Apr 19 13:49:21 2016
@@ -77,7 +77,7 @@ SourceLocation getLocationForEndOfToken(
                                         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 *Reco
   }
 }
 
-} // namespace
+} // anonymous namespace
 
 ProTypeMemberInitCheck::ProTypeMemberInitCheck(StringRef Name,
                                                ClangTidyContext *Context)




More information about the cfe-commits mailing list