diff options
| author | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
| commit | ab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch) | |
| tree | 02b8d37aa99733a57641681111d0277aa97c4477 /clang/lib/Sema/SemaDeclCXX.cpp | |
| parent | f530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff) | |
| download | bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.tar.gz bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.zip | |
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDeclCXX.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index 471a03e123a..7ed9bfcb979 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -145,7 +145,7 @@ namespace { return S->Diag(Lambda->getLocStart(), diag::err_lambda_capture_default_arg); } -} // namespace +} void Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, @@ -2834,7 +2834,7 @@ private: CXXRecordDecl *ClassDecl; }; -} // namespace +} /// \brief Handle a C++ member initializer. MemInitResult @@ -3756,7 +3756,7 @@ struct BaseAndFieldInfo { return false; } }; -} // namespace +} /// \brief Determine whether the given type is an incomplete or zero-lenfgth /// array type. @@ -4215,7 +4215,7 @@ bool CheckRedundantUnionInit(Sema &S, return false; } -} // namespace +} /// ActOnMemInitializers - Handle the member initializers for a constructor. void Sema::ActOnMemInitializers(Decl *ConstructorDecl, @@ -4637,7 +4637,7 @@ void AbstractUsageInfo::CheckType(const NamedDecl *D, TypeLoc TL, CheckAbstractUsage(*this, D).Visit(TL, Sel); } -} // namespace +} /// Check for invalid uses of an abstract type in a method declaration. static void CheckAbstractClassUsage(AbstractUsageInfo &Info, @@ -5508,7 +5508,7 @@ struct SpecialMemberDeletionInfo { bool isAccessible(Subobject Subobj, CXXMethodDecl *D); }; -} // namespace +} /// Is the given special member inaccessible when used on the given /// sub-object. @@ -7517,7 +7517,7 @@ public: } }; -} // namespace +} static bool TryNamespaceTypoCorrection(Sema &S, LookupResult &R, Scope *Sc, CXXScopeSpec &SS, @@ -8883,7 +8883,7 @@ struct DeclaringSpecialMember { return WasAlreadyBeingDeclared; } }; -} // namespace +} CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor( CXXRecordDecl *ClassDecl) { @@ -9267,7 +9267,7 @@ private: typedef llvm::DenseMap<const Type *, InheritingConstructorsForType> MapType; MapType Map; }; -} // namespace +} void Sema::DeclareInheritingConstructors(CXXRecordDecl *ClassDecl) { // Defer declaring the inheriting constructors until the class is @@ -13484,7 +13484,7 @@ namespace { return false; } }; -} // namespace +} bool Sema::checkThisInStaticMemberFunctionType(CXXMethodDecl *Method) { TypeSourceInfo *TSInfo = Method->getTypeSourceInfo(); |

