[cfe-commits] r120489 - /cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp
John McCall
rjmccall at apple.com
Tue Nov 30 15:17:27 PST 2010
Author: rjmccall
Date: Tue Nov 30 17:17:27 2010
New Revision: 120489
URL: http://llvm.org/viewvc/llvm-project?rev=120489&view=rev
Log:
CGRecordLayoutBuilder does not need to be exported from this module.
Modified:
cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp
Modified: cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp?rev=120489&r1=120488&r2=120489&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp Tue Nov 30 17:17:27 2010
@@ -28,8 +28,7 @@
using namespace clang;
using namespace CodeGen;
-namespace clang {
-namespace CodeGen {
+namespace {
class CGRecordLayoutBuilder {
public:
@@ -172,7 +171,6 @@
};
}
-}
void CGRecordLayoutBuilder::Layout(const RecordDecl *D) {
Alignment = Types.getContext().getASTRecordLayout(D).getAlignment() / 8;
More information about the cfe-commits
mailing list