]> granicus.if.org Git - clang/commit
Recover instead of crashing on MS assembly when no target is loaded
authorAlp Toker <alp@nuanti.com>
Wed, 30 Oct 2013 14:29:28 +0000 (14:29 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 30 Oct 2013 14:29:28 +0000 (14:29 +0000)
commit259731591edb358ada4d974544faf09b4a5a1249
tree31ed127c3dc5030a89e7dd22b7c7bd526adb5f59
parentdc837b1722d8e071d9ec0434aea487dbdfd57853
Recover instead of crashing on MS assembly when no target is loaded

It's possible to embed the frontend in applications that haven't initialized
backend targets so we need to handle this condition gracefully.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193685 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseStmt.cpp
test/Index/ms-asm-no-target.cpp [new file with mode: 0644]