diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-10 21:20:09 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-10 21:20:09 +0000 |
commit | 1ad23d62007162df82b58bca31b4aa277a5f6586 (patch) | |
tree | 4606e376e5bd2c08c13676bd0802cf9f54f3c35e /lib/AST | |
parent | e4330a302ac20b41b9800267ebd4b5b01f8553f8 (diff) |
Remove redundant semicolons which are null statements.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST')
-rw-r--r-- | lib/AST/CommentSema.cpp | 2 | ||||
-rw-r--r-- | lib/AST/DeclBase.cpp | 2 | ||||
-rw-r--r-- | lib/AST/DeclPrinter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp index 953afe147e..e57dac7104 100644 --- a/lib/AST/CommentSema.cpp +++ b/lib/AST/CommentSema.cpp @@ -675,7 +675,7 @@ unsigned Sema::correctTypoInParmVarReference( if (Corrector.getBestDecl()) return Corrector.getBestDeclIndex(); else - return ParamCommandComment::InvalidParamIndex;; + return ParamCommandComment::InvalidParamIndex; } namespace { diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index f9ce46def5..4400d503f2 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -961,7 +961,7 @@ DeclContext::lookup_result ExternalASTSource::SetExternalVisibleDeclsForName(const DeclContext *DC, DeclarationName Name, ArrayRef<NamedDecl*> Decls) { - ASTContext &Context = DC->getParentASTContext();; + ASTContext &Context = DC->getParentASTContext(); StoredDeclsMap *Map; if (!(Map = DC->LookupPtr.getPointer())) diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp index 4cba2b0977..56fc8e19c4 100644 --- a/lib/AST/DeclPrinter.cpp +++ b/lib/AST/DeclPrinter.cpp @@ -462,7 +462,7 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) { if (I) Proto += ", "; - Proto += FT->getExceptionType(I).getAsString(SubPolicy);; + Proto += FT->getExceptionType(I).getAsString(SubPolicy); } Proto += ")"; } else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) { |