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 | 0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d (patch) | |
tree | a3c64237022544138fa9a7602414ca6650c7dfdb /clang/lib/CodeGen/CodeGenModule.h | |
parent | 0bd7a9345bb7f0c708d6b2a63760c30a2c7e890b (diff) | |
download | llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.zip llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.tar.gz llvm-0bdb1fd4775648d63033ba20cdaf90fd34f8ce3d.tar.bz2 |
Opportunistically use the C++ personality function in ObjC++
translation units that don't catch ObjC types. rdar://problem/8434851
llvm-svn: 114070
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index cabff9e..898f9c3 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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 |