summaryrefslogtreecommitdiffstats
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-07-06 22:32:59 +0000
committerNico Weber <nicolasweber@gmx.de>2014-07-06 22:32:59 +0000
commit695370c70118fc7d19e5d6b1f709095c4f4768a7 (patch)
treeb0b75fb21e47d707ce1d220af3a836e7b725d35f /lib/Sema/SemaStmt.cpp
parent8991359fe508eb130f5b34aced50ec046fc11c70 (diff)
Add parser support for __leave (sema and onward still missing).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index dc1cddc59f..6090d6d14d 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -3277,6 +3277,11 @@ Sema::ActOnSEHFinallyBlock(SourceLocation Loc,
return SEHFinallyStmt::Create(Context,Loc,Block);
}
+StmtResult
+Sema::ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope) {
+ return StmtError(Diag(Loc, diag::err_ms___leave_unimplemented));
+}
+
StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
bool IsIfExists,
NestedNameSpecifierLoc QualifierLoc,