summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/cppcoreguidelines
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-04-19 18:49:21 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-04-19 18:49:21 +0000
commit5a783d0a1f610e5a216a42cca168f55165fc720b (patch)
tree549b2cebfb3f9aee6ca1d4325afa7ad2523768d6 /clang-tools-extra/clang-tidy/cppcoreguidelines
parent2effffd45623a38f2744f55f54d335c3e6958a4c (diff)
downloadbcm5719-llvm-5a783d0a1f610e5a216a42cca168f55165fc720b.tar.gz
bcm5719-llvm-5a783d0a1f610e5a216a42cca168f55165fc720b.zip
[Clang-tidy] Fix extra semicolon warning in cppcoreguidelines/ProTypeMemberInitCheck.cpp.
llvm-svn: 266795
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines')
-rw-r--r--clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp4
1 files 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 645e0291ebc..e5093540c1b 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)
OpenPOWER on IntegriCloud