Put back the top-level asm code; all tests pass now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46868 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp
index cd546f3..0077691 100644
--- a/Sema/SemaDecl.cpp
+++ b/Sema/SemaDecl.cpp
@@ -1711,6 +1711,13 @@
   Consumer.HandleTagDeclDefinition(Enum);
 }
 
+Sema::DeclTy *Sema::ActOnFileScopeAsmDecl(SourceLocation Loc,
+                                          ExprTy *expr) {
+  StringLiteral *AsmString = cast<StringLiteral>((Expr*)expr);
+  
+  return new FileScopeAsmDecl(Loc, AsmString);
+}
+
 Sema::DeclTy* Sema::ActOnLinkageSpec(SourceLocation Loc,
 				     SourceLocation LBrace,
 				     SourceLocation RBrace,