]> granicus.if.org Git - clang/commitdiff
Remove dead code.
authorDevang Patel <dpatel@apple.com>
Wed, 29 Sep 2010 20:05:01 +0000 (20:05 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 29 Sep 2010 20:05:01 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115079 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index a0ed53b70a8bf811b9f750fe38b214487ed8408b..7a7b4e01920da48d0503ce14335f325644e920a0 100644 (file)
@@ -621,13 +621,6 @@ CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
                                0),
                       Unit);
   
-  unsigned BFlags=0;
-  AccessSpecifier Access = Method->getAccess();
-  if (Access == clang::AS_private)
-    BFlags |= llvm::DIType::FlagPrivate;
-  else if (Access == clang::AS_protected)
-    BFlags |= llvm::DIType::FlagProtected;
-
   // Add "this" pointer.
 
   llvm::DIArray Args = llvm::DICompositeType(FnTy).getTypeArray();