summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
commitab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch)
tree02b8d37aa99733a57641681111d0277aa97c4477 /clang/lib/CodeGen/CGClass.cpp
parentf530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff)
downloadbcm5719-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/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index cfba8db6324..4d6a4e288dd 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -384,7 +384,7 @@ namespace {
// external code might potentially access the vtable.
void VisitCXXThisExpr(const CXXThisExpr *E) { UsesThis = true; }
};
-} // namespace
+}
static bool BaseInitializerUsesThis(ASTContext &C, const Expr *Init) {
DynamicThisUseChecker Checker(C);
@@ -860,7 +860,7 @@ namespace {
CodeGenFunction &CGF;
SanitizerSet OldSanOpts;
};
-} // namespace
+}
namespace {
class FieldMemcpyizer {
@@ -1228,7 +1228,7 @@ namespace {
}
};
-} // namespace
+}
/// EmitCtorPrologue - This routine generates necessary code to initialize
/// base classes and non-static data members belonging to this constructor.
@@ -1531,7 +1531,7 @@ namespace {
flags.isForNormalCleanup() && useEHCleanupForArray);
}
};
-} // namespace
+}
/// \brief Emit all code that comes at the end of class's
/// destructor. This is to call destructors on members and base classes
@@ -1892,7 +1892,7 @@ namespace {
/*Delegating=*/true, Addr);
}
};
-} // namespace
+}
void
CodeGenFunction::EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
@@ -1945,7 +1945,7 @@ namespace {
/*Delegating=*/false, Addr);
}
};
-} // namespace
+}
void CodeGenFunction::PushDestructorCleanup(const CXXDestructorDecl *D,
llvm::Value *Addr) {
OpenPOWER on IntegriCloud