diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-26 21:25:24 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-26 21:25:24 +0000 |
commit | 3c46e8db99196179b30e7ac5c20c4efd5f3926d7 (patch) | |
tree | 2ef91bba064f8fe40b467e2dd0134f08eef99a5c /lib/Sema/SemaStmt.cpp | |
parent | 1890eb81a6ad9df6dee4d54d5031e1ea5c6e9ce7 (diff) |
Fix namespace polution.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r-- | lib/Sema/SemaStmt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index 58131daf83..b4d207eab1 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp @@ -1577,6 +1577,8 @@ Sema::ActOnCXXCatchBlock(SourceLocation CatchLoc, DeclPtrTy ExDecl, HandlerBlock.takeAs<Stmt>())); } +namespace { + class TypeWithHandler { QualType t; CXXCatchStmt *stmt; @@ -1606,6 +1608,8 @@ public: } }; +} + /// ActOnCXXTryBlock - Takes a try compound-statement and a number of /// handlers and creates a try statement from them. Action::OwningStmtResult |