Determines whether C++ class hierarchy information is used to analyze and resolve C++ virtual function calls at compile time. Option -qopt-class-analysis is the replacement option for -opt-class-analysis, which is deprecated.
Syntax
Linux OS and OS X: | -qopt-class-analysis -qno-opt-class-analysis |
Windows OS: | /Qopt-class-analysis /Qopt-class-analysis- |
Default
-qno-opt-class-analysis | C++ class hierarchy information is not used to analyze and resolve C++ virtual function calls at compile time. |
Description
This option determines whether C++ class hierarchy information is used to analyze and resolve C++ virtual function calls at compile time. The option is turned on by default with the -ipo compiler option, enabling improved C++ optimization. If a C++ application contains non-standard C++ constructs, such as pointer down-casting, it may result in different behaviors.