Cristiano Calcagno
a71902355f
[debug][dotty] Fix issue in dotty output where overloaded functions were conflated
...
Reviewed By: jvillard
Differential Revision: D4117078
fbshipit-source-id: fdd8e93
8 years ago
Cristiano Calcagno
3fb8801b6c
[IR] Change cfg representation so the node number is per-procedure and not per-cfg
...
Reviewed By: jeremydubreil
Differential Revision: D4088075
fbshipit-source-id: 6e517a7
8 years ago
Andrzej Kotulski
0aa5101a05
Replace space with _ in type names
...
Reviewed By: dulmarod
Differential Revision: D3605346
fbshipit-source-id: f4dce83
8 years ago
Sam Blackshear
d946a7bc33
fix ugly printing of NONE idents
...
Reviewed By: akotulski
Differential Revision: D3572695
fbshipit-source-id: 7398006
8 years ago
Sam Blackshear
006bd06adb
add concept of a dummy identifier
...
Reviewed By: jberdine
Differential Revision: D3470952
fbshipit-source-id: d40ef14
9 years ago
Andrzej Kotulski
9b07a3e762
Never call destructor on delete expression
...
Summary:
This call was producing confusing false positives when deleted object was possible to be null.
Changing frontend to add that check is not trivial so I turned it off for now (we don't handle
destructors in other cases anyway)
Reviewed By: dulmarod
Differential Revision: D3509354
fbshipit-source-id: c23dc81
9 years ago
Sam Blackshear
fd8a864c15
doing preanalysis on-demand
...
Reviewed By: jeremydubreil
Differential Revision: D3352767
fbshipit-source-id: a9dcc0a
9 years ago
Andrzej Kotulski
617ffab0ac
Add @generated comment to icfg.dot files
...
Reviewed By: jvillard
Differential Revision: D3358243
fbshipit-source-id: a47cc01
9 years ago
Sam Blackshear
20925df57c
removing unused deallocate param in nullify instr
...
Reviewed By: jeremydubreil
Differential Revision: D3263241
fbshipit-source-id: b0d2c0f
9 years ago
Sam Blackshear
4fd2f52fe8
new analysis for adding nullify's
...
Reviewed By: jeremydubreil
Differential Revision: D3241019
fbshipit-source-id: 8409b33
9 years ago
Sam Blackshear
6f6da12b2c
don't nullify params/locals at beginning of procedure
...
Reviewed By: jeremydubreil
Differential Revision: D3258615
fb-gh-sync-id: 73e4670
fbshipit-source-id: 73e4670
9 years ago
Dulma Rodriguez
a4b87a0951
Translate destructor calls
...
Reviewed By: akotulski
Differential Revision: D3035382
fb-gh-sync-id: 3dba93e
shipit-source-id: 3dba93e
9 years ago
Dulma Rodriguez
91a2eaa5f1
Translate CXXPseudoDestructorExpr
...
Reviewed By: akotulski
Differential Revision: D3030168
fb-gh-sync-id: 0c63cc3
shipit-source-id: 0c63cc3
9 years ago
Dulma Rodriguez
06f40efab8
Add extra dereference to the variable of the method call to find null dereferences when a method called with null.
...
Reviewed By: akotulski
Differential Revision: D2954284
fb-gh-sync-id: d9079db
shipit-source-id: d9079db
9 years ago
Andrzej Kotulski
4584f7f6fc
[clang-format] Reformat all c/cpp/objc sources with clang-format
...
Reviewed By: jul
Differential Revision: https://phabricator.fb.com/D2953843
9 years ago
Andrzej Kotulski
bd935c2347
Add destructor calls on delete expression
...
Summary:
public
Add destructor calls on delete expression.
While not the most important, it is the simplest case of adding destructor calls.
This will help us in the future with more complex cases.
Reviewed By: ddino
Differential Revision: D2773483
fb-gh-sync-id: 4df9c73
9 years ago
Andrzej Kotulski
70b003696f
Translate bodies of destructors
...
Summary:
public
Treat destructors in the same way we treat methods/constructors.
It doesn't deal with inheritance/composition - we'll need to add calls to these
destructors later
Reviewed By: dulmarod
Differential Revision: D2769142
fb-gh-sync-id: b1c77e1
9 years ago