diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/tools/clang/lib/AST/CommentSema.cpp | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/tools/clang/lib/AST/CommentSema.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/lib/AST/CommentSema.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/llvm/tools/clang/lib/AST/CommentSema.cpp b/gnu/llvm/tools/clang/lib/AST/CommentSema.cpp index 12823c37dfc..f5f4f70dcbb 100644 --- a/gnu/llvm/tools/clang/lib/AST/CommentSema.cpp +++ b/gnu/llvm/tools/clang/lib/AST/CommentSema.cpp @@ -23,7 +23,7 @@ namespace comments { namespace { #include "clang/AST/CommentHTMLTagsProperties.inc" -} // unnamed namespace +} // end anonymous namespace Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, DiagnosticsEngine &Diags, CommandTraits &Traits, @@ -353,8 +353,6 @@ void Sema::actOnTParamCommandParamNameArg(TParamCommandComment *Command, << CorrectedName << FixItHint::CreateReplacement(ArgRange, CorrectedName); } - - return; } void Sema::actOnTParamCommandFinish(TParamCommandComment *Command, @@ -1002,7 +1000,7 @@ void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { BestIndex = CurrIndex; } } -} // unnamed namespace +} // end anonymous namespace unsigned Sema::correctTypoInParmVarReference( StringRef Typo, @@ -1040,7 +1038,7 @@ bool ResolveTParamReferenceHelper( } return false; } -} // unnamed namespace +} // end anonymous namespace bool Sema::resolveTParamReference( StringRef Name, @@ -1067,7 +1065,7 @@ void CorrectTypoInTParamReferenceHelper( Corrector); } } -} // unnamed namespace +} // end anonymous namespace StringRef Sema::correctTypoInTParamReference( StringRef Typo, @@ -1095,4 +1093,3 @@ Sema::getInlineCommandRenderKind(StringRef Name) const { } // end namespace comments } // end namespace clang - |
