]> granicus.if.org Git - clang/commit
SEH: Diagnose use of C++ EH and SEH in the same function
authorReid Kleckner <reid@kleckner.net>
Mon, 2 Feb 2015 22:15:31 +0000 (22:15 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 2 Feb 2015 22:15:31 +0000 (22:15 +0000)
commitdd4fdbef5ad9954c5af124e970dcce1ba58e4b80
tree65b58c8126b987e07e254c71bfbc653a7838fe97
parent00d7f4c3443ab62b0ee56c0461845994df8faaaf
SEH: Diagnose use of C++ EH and SEH in the same function

This check does not apply when Borland extensions are enabled, as they
have a checked in test case indicating that mixed usage of SEH and C++
is supported.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227876 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/ScopeInfo.h
lib/Sema/ScopeInfo.cpp
lib/Sema/SemaStmt.cpp
test/SemaCXX/exceptions-seh.cpp