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
Sam Blackshear
d946a7bc33
fix ugly printing of NONE idents
...
Reviewed By: akotulski
Differential Revision: D3572695
fbshipit-source-id: 7398006
8 years ago
Sam Blackshear
7b58c71475
centralize creation and detection of clang tmp vars, fix errdesc/bucketing
...
Reviewed By: akotulski
Differential Revision: D3529992
fbshipit-source-id: 939f47a
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
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
Andrzej Kotulski
3699b9c0dc
Fix translation of passing struct parameters by value
...
Summary:
Pass object by reference every time struct object is passed by value
in C++. Do it only for C++/objC++ where we have guarantee that the
object which is passed will be temporary one (created by copy constructor).
Reviewed By: jberdine
Differential Revision: D3346271
fbshipit-source-id: d3e5daa
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
Andrzej Kotulski
590f73b59f
Translate functions/methods from headers when they are referenced
...
Summary:public
Instead of translating code from headers blindly, translate only gets transitively referenced from source code.
It won't translate functions from system headers, but in the future we could do that as well
since most of them aren't used and it shouldn't add much overhead.
For now this functionality is hidden behind --cxx-experimental flag
Reviewed By: dulmarod
Differential Revision: D3163519
fb-gh-sync-id: 0c53b10
fbshipit-source-id: 0c53b10
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
Dino Distefano
c65947439f
Implementing translation of CXXForRangeStmt
...
Reviewed By: akotulski
Differential Revision: D2905693
fb-gh-sync-id: 8268df4
shipit-source-id: 8268df4
9 years ago