diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-02-27 18:49:43 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-27 18:49:43 +0000 |
commit | a11f22f60673c6c9556976b49e64bf7fa751f4eb (patch) | |
tree | 3720f26805110c6dd4290eaa0388ff3c11c2eafb /docs/analyzer | |
parent | 4c4df4520df20ec17d84aa2261f098ec278e1dab (diff) |
[analyzer] Turn on C++ constructor inlining by default.
This enables constructor inlining for types with non-trivial destructors.
The plan is to enable destructor inlining within the next month, but that
needs further verification.
<rdar://problem/12295329>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/analyzer')
-rw-r--r-- | docs/analyzer/IPA.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/analyzer/IPA.txt b/docs/analyzer/IPA.txt index ac75ee1bf2..4cffcb7454 100644 --- a/docs/analyzer/IPA.txt +++ b/docs/analyzer/IPA.txt @@ -46,9 +46,10 @@ Each of these modes implies that all the previous member function kinds will be inlined as well; it doesn't make sense to inline destructors without inlining constructors, for example. -The default c++-inlining mode is 'methods', meaning only regular member -functions and overloaded operators will be inlined. Note that no C++ member -functions will be inlined under -analyzer-config ipa=none or +The default c++-inlining mode is 'constructors', meaning that member functions, +overloaded operators, and some constructors will be inlined. If a type has a +non-trivial destructor, however, its constructor will not be inlined. Note that +no C++ member functions will be inlined under -analyzer-config ipa=none or -analyzer-config ipa=basic-inlining. ### c++-template-inlining ### |