Back out 46855 for now, it causes test failures on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46867 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Decl.cpp b/AST/Decl.cpp
index 55abe6f..78916c5 100644
--- a/AST/Decl.cpp
+++ b/AST/Decl.cpp
@@ -38,7 +38,6 @@
static unsigned nObjCCompatibleAlias = 0;
static unsigned nObjCPropertyDecl = 0;
static unsigned nLinkageSpecDecl = 0;
-static unsigned nFileScopeAsmDecl = 0;
static bool StatSwitch = false;
@@ -170,8 +169,7 @@
nObjCCategoryImpl*sizeof(ObjCCategoryImplDecl)+
nObjCCompatibleAlias*sizeof(ObjCCompatibleAliasDecl)+
nObjCPropertyDecl*sizeof(ObjCPropertyDecl)+
- nLinkageSpecDecl*sizeof(LinkageSpecDecl)+
- nFileScopeAsmDecl*sizeof(FileScopeAsmDecl)));
+ nLinkageSpecDecl*sizeof(LinkageSpecDecl)));
}
@@ -242,9 +240,6 @@
case LinkageSpec:
nLinkageSpecDecl++;
break;
- case FileScopeAsm:
- nFileScopeAsmDecl++;
- break;
}
}