diff options
author | John McCall <rjmccall@apple.com> | 2010-09-16 06:16:50 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-16 06:16:50 +0000 |
commit | b25938303de0976b9f189363d43033e5788e3d36 (patch) | |
tree | d9477ad43935b0d10042730f1c503c96945a9046 /lib/CodeGen/CodeGenModule.h | |
parent | f902153696d6b0e30651b33c6626ed757c5e95e3 (diff) |
Opportunistically use the C++ personality function in ObjC++
translation units that don't catch ObjC types. rdar://problem/8434851
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index cabff9e1ca..898f9c3668 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -613,6 +613,10 @@ private: /// lazily; this is only relevant for definitions. The given decl /// must be either a function or var decl. bool MayDeferGeneration(const ValueDecl *D); + + /// SimplifyPersonality - Check whether we can use a "simpler", more + /// core exceptions personality function. + void SimplifyPersonality(); }; } // end namespace CodeGen } // end namespace clang |