From 5e77d76c953d915bfbbdc8c719e91e6fbc32e1f1 Mon Sep 17 00:00:00 2001 From: John McCall Date: Tue, 16 Apr 2013 07:28:30 +0000 Subject: Basic support for Microsoft property declarations and references thereto. Patch by Tong Shen! llvm-svn: 179585 --- clang/lib/Sema/SemaExceptionSpec.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp') diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 26c3d354c7a..4758718006b 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -1111,6 +1111,9 @@ CanThrowResult Sema::canThrow(const Expr *E) { // These expressions can never throw. return CT_Cannot; + case Expr::MSPropertyRefExprClass: + llvm_unreachable("Invalid class for expression"); + #define STMT(CLASS, PARENT) case Expr::CLASS##Class: #define STMT_RANGE(Base, First, Last) #define LAST_STMT_RANGE(BASE, FIRST, LAST) -- cgit v1.2.3