summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-04-02 00:26:29 +0000
committerJordan Rose <jordan_rose@apple.com>2013-04-02 00:26:29 +0000
commit19440f58e950e62eeca4ac8c3bd43b7072ea7d00 (patch)
treea224c34e1f08c689c615210e78e424fe590ccc31 /clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
parent33a1063cab3ca9ba79cd8a0f7acf5bfc9e5c425d (diff)
downloadbcm5719-llvm-19440f58e950e62eeca4ac8c3bd43b7072ea7d00.tar.gz
bcm5719-llvm-19440f58e950e62eeca4ac8c3bd43b7072ea7d00.zip
[analyzer] Cache whether a function is generally inlineable.
Certain properties of a function can determine ahead of time whether or not the function is inlineable, such as its kind, its signature, or its location. We can cache this value in the FunctionSummaries map to avoid rechecking these static properties for every call. Note that the analyzer may still decide not to inline a specific call to a function because of the particular dynamic properties of the call along the current path. No intended functionality change. llvm-svn: 178515
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud