Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp
index 471a03e..7ed9bfc 100644
--- a/clang/lib/Sema/SemaDeclCXX.cpp
+++ b/clang/lib/Sema/SemaDeclCXX.cpp
@@ -145,7 +145,7 @@
return S->Diag(Lambda->getLocStart(),
diag::err_lambda_capture_default_arg);
}
-} // namespace
+}
void
Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc,
@@ -2834,7 +2834,7 @@
CXXRecordDecl *ClassDecl;
};
-} // namespace
+}
/// \brief Handle a C++ member initializer.
MemInitResult
@@ -3756,7 +3756,7 @@
return false;
}
};
-} // namespace
+}
/// \brief Determine whether the given type is an incomplete or zero-lenfgth
/// array type.
@@ -4215,7 +4215,7 @@
return false;
}
-} // namespace
+}
/// ActOnMemInitializers - Handle the member initializers for a constructor.
void Sema::ActOnMemInitializers(Decl *ConstructorDecl,
@@ -4637,7 +4637,7 @@
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 @@
bool isAccessible(Subobject Subobj, CXXMethodDecl *D);
};
-} // namespace
+}
/// Is the given special member inaccessible when used on the given
/// sub-object.
@@ -7517,7 +7517,7 @@
}
};
-} // namespace
+}
static bool TryNamespaceTypoCorrection(Sema &S, LookupResult &R, Scope *Sc,
CXXScopeSpec &SS,
@@ -8883,7 +8883,7 @@
return WasAlreadyBeingDeclared;
}
};
-} // namespace
+}
CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor(
CXXRecordDecl *ClassDecl) {
@@ -9267,7 +9267,7 @@
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 @@
return false;
}
};
-} // namespace
+}
bool Sema::checkThisInStaticMemberFunctionType(CXXMethodDecl *Method) {
TypeSourceInfo *TSInfo = Method->getTypeSourceInfo();