[cfe-commits] r103705 - /cfe/trunk/lib/Sema/Sema.cpp
Chandler Carruth
chandlerc at gmail.com
Thu May 13 00:47:58 PDT 2010
Author: chandlerc
Date: Thu May 13 02:47:58 2010
New Revision: 103705
URL: http://llvm.org/viewvc/llvm-project?rev=103705&view=rev
Log:
Delete a dead function at sabre's request.
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=103705&r1=103704&r2=103705&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Thu May 13 02:47:58 2010
@@ -38,17 +38,6 @@
BlockScopeInfo::~BlockScopeInfo() { }
-static inline RecordDecl *CreateStructDecl(ASTContext &C, const char *Name) {
- if (C.getLangOptions().CPlusPlus)
- return CXXRecordDecl::Create(C, TTK_Struct,
- C.getTranslationUnitDecl(),
- SourceLocation(), &C.Idents.get(Name));
-
- return RecordDecl::Create(C, TTK_Struct,
- C.getTranslationUnitDecl(),
- SourceLocation(), &C.Idents.get(Name));
-}
-
void Sema::ActOnTranslationUnitScope(SourceLocation Loc, Scope *S) {
TUScope = S;
PushDeclContext(S, Context.getTranslationUnitDecl());
More information about the cfe-commits
mailing list