diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-05-13 07:47:58 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-05-13 07:47:58 +0000 |
commit | 197113b2c41f49224c83f901c2bb0d822b75d480 (patch) | |
tree | 4bc9cc89330628003cc2c66d226f9d622b618fea /lib/Sema/Sema.cpp | |
parent | 5ef12b37f00f747f130664c655bb9b29dc10c816 (diff) |
Delete a dead function at sabre's request.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 0c713e7c9a..91effa44b2 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -38,17 +38,6 @@ void FunctionScopeInfo::Clear(unsigned NumErrors) { 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()); |