Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 gadi atpakaļ |
David Blaikie
|
881f428893
Wdeprecated: CollectReachableSymbolsCallback are move constructed/returned by value, so make sure they're copy/moveable
|
10 gadi atpakaļ |
Richard Trieu
|
8a84096523
Removing an "if (this == nullptr)" check from two print methods. The condition
|
11 gadi atpakaļ |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 gadi atpakaļ |
Craig Topper
|
83daac80e9
[C++11] Add 'override' keyword to virtual methods that override their base class.
|
11 gadi atpakaļ |
Jordan Rose
|
e2b1246a24
[analyzer] Consolidate constant evaluation logic in SValBuilder.
|
12 gadi atpakaļ |
David Blaikie
|
dc84cd5efd
Include llvm::Optional in clang/Basic/LLVM.h
|
12 gadi atpakaļ |
David Blaikie
|
5251abea41
Replace SVal llvm::cast support to be well-defined.
|
12 gadi atpakaļ |
Jordan Rose
|
38f68ef19c
[analyzer] Use Clang's evaluation for global constants and default arguments.
|
12 gadi atpakaļ |
Jordan Rose
|
7affe151f5
[analyzer] Remove bindExprAndLocation, which does extra work for no gain.
|
12 gadi atpakaļ |
Benjamin Kramer
|
a93d0f2806
Include pruning and general cleanup.
|
12 gadi atpakaļ |
Jordan Rose
|
84c484545c
[analyzer] Mark symbol values as dead in the environment.
|
12 gadi atpakaļ |
Jordan Rose
|
d4ce811ae0
[analyzer] When binding to a ParenExpr, bind to its inner expression instead.
|
13 gadi atpakaļ |
Jordan Rose
|
e5a934d3c8
[analyzer] Remove the "direct bindings only" Environment lookup.
|
13 gadi atpakaļ |
Roman Divacky
|
31ba613537
Dont cast away const needlessly. Found by gcc48 -Wcast-qual.
|
13 gadi atpakaļ |
Jordan Rose
|
b66529d047
[analyzer] Support C++ default arguments if they are literal values.
|
13 gadi atpakaļ |
Jordan Rose
|
69a0e5021c
[analyzer] Look through SubstNonTypeTemplateParmExprs.
|
13 gadi atpakaļ |
Ted Kremenek
|
a2ad394dad
Remove the ability to stash arbitrary pointers into UndefinedVal (no longer needed).
|
13 gadi atpakaļ |
Jordan Rose
|
4ccc4cc5d4
[analyzer] Remove obsolete ObjCPropRef SVal kind.
|
13 gadi atpakaļ |
Ted Kremenek
|
c319c585c0
Teach the analyzer about CXXScaleValueInitExpr.
|
13 gadi atpakaļ |
Ted Kremenek
|
1a45a5ff5d
Add static analyzer support for new NSArray/NSDictionary/NSNumber literals.
|
13 gadi atpakaļ |
Ted Kremenek
|
4c62b557e2
[analyzer] teach analyzer about ObjC literals, thus trimming out a false positive with the malloc() checker involving
|
13 gadi atpakaļ |
Ted Kremenek
|
e739a29c62
[analyzer] Don't generate an explicit ExplodedNode for StringLiterals; have the SVal lazily generated from Environment::getSVal().
|
13 gadi atpakaļ |
Ted Kremenek
|
7f9b1d963d
Have ScanReachableSymbols reported reachable regions. Fixes a false positive with nested array literals. <rdar://problem/10686586>
|
13 gadi atpakaļ |
Benjamin Kramer
|
c35fb7d67d
StaticAnalyzer: Move ObjC- and CXX-specific methods out of line so checkers that don't care about the language don't have to pull in all the headers.
|
13 gadi atpakaļ |
Ted Kremenek
|
8bef823818
Change references to 'const ProgramState *' to typedef 'ProgramStateRef'.
|
13 gadi atpakaļ |
David Blaikie
|
3026348bd4
More dead code removal (using -Wunreachable-code)
|
13 gadi atpakaļ |
Ted Kremenek
|
256ef642f8
Remove '#if 0' from ExprEngine::InlineCall(), and start fresh by wiring up inlining for straight C calls.
|
13 gadi atpakaļ |
Ted Kremenek
|
5eca482fe8
[analyzer] Make the entries in 'Environment' context-sensitive by making entries map from
|
13 gadi atpakaļ |
Anna Zaks
|
1e705d57f2
Move immutable map canonization out of the removeDeadBindings loop (via using ImmutableMapRef). Gives ~2% speedup.
|
14 gadi atpakaļ |