diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-24 21:42:51 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-24 21:42:51 +0000 |
commit | 175ea24e383d6277fb94434043e8d1059a89c22b (patch) | |
tree | a245e7b543d2f35dbdf40c64f446fd83c31f65a4 /clang/lib/Sema | |
parent | bfd96e11edfc80662967401f62f5955e3deca17d (diff) | |
download | bcm5719-llvm-175ea24e383d6277fb94434043e8d1059a89c22b.tar.gz bcm5719-llvm-175ea24e383d6277fb94434043e8d1059a89c22b.zip |
[ms-inline asm] Change the -fenable-experimental-ms-inline-asm option from a
CodeGen option to a LangOpt option. In turn, hoist the guard into the parser
so that we avoid the new (and fairly unstable) Sema/AST/CodeGen logic. This
should restore the behavior of clang to that prior to r158325.
<rdar://problem/12163681>
llvm-svn: 162602
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaStmtAsm.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp index 6f34af2f40d..dcbc21b287c 100644 --- a/clang/lib/Sema/SemaStmtAsm.cpp +++ b/clang/lib/Sema/SemaStmtAsm.cpp @@ -465,8 +465,6 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, ArrayRef<Token> AsmToks, SourceLocation EndLoc) { - // MS-style inline assembly is not fully supported, so emit a warning. - Diag(AsmLoc, diag::warn_unsupported_msasm); SmallVector<StringRef,4> Clobbers; std::set<std::string> ClobberRegs; SmallVector<IdentifierInfo*, 4> Inputs; |