diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-09-10 20:55:43 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-09-10 20:55:43 +0000 |
commit | 2e156225a29407a50dd19041aa5750171ad44ea3 (patch) | |
tree | c6211db2778ab4a2fda904cfc2b368e4fd42aae4 /lib/CodeGen/Mangle.cpp | |
parent | 02bc21a88ecbdf49b2e674c210a4cbf8c48c6e58 (diff) |
Define and implement CXXNoexceptExpr. Create it in Sema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index a70a52d94e..1cf3211b70 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -1618,7 +1618,8 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity) { case Expr::TypesCompatibleExprClass: case Expr::UnaryTypeTraitExprClass: case Expr::VAArgExprClass: - case Expr::CXXUuidofExprClass: { + case Expr::CXXUuidofExprClass: + case Expr::CXXNoexceptExprClass: { // As bad as this diagnostic is, it's better than crashing. Diagnostic &Diags = Context.getDiags(); unsigned DiagID = Diags.getCustomDiagID(Diagnostic::Error, |