diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-08-31 17:06:49 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-08-31 17:06:49 +0000 |
commit | 219c9d0dd3ebcfbf3e8710b1c3149c90041ea24f (patch) | |
tree | 622f4fbf820c81f966f4c536e46b97a677bbb66b /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 6ce25c09edbf24b88a0cda4d41936a987eea3c0a (diff) | |
download | llvm-219c9d0dd3ebcfbf3e8710b1c3149c90041ea24f.zip llvm-219c9d0dd3ebcfbf3e8710b1c3149c90041ea24f.tar.gz llvm-219c9d0dd3ebcfbf3e8710b1c3149c90041ea24f.tar.bz2 |
[analyzer] Though C++ inlining is enabled, don't inline ctors and dtors.
More generally, this adds a new configuration option 'c++-inlining', which
controls which C++ member functions can be considered for inlining. This
uses the new -analyzer-config table, so the cc1 arguments will look like this:
... -analyzer-config c++-inlining=[none|methods|constructors|destructors]
Note that each mode 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 mode is 'methods'.
llvm-svn: 163004
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions