Artem Dergachev
|
22d5fd239a
[analyzer] Re-enable lifetime extension for temporaries without destructors.
|
7 年之前 |
Artem Dergachev
|
f5fb3f3b81
[CFG] [analyzer] Add construction contexts that explain pre-C++17 copy elision.
|
7 年之前 |
George Karpenkov
|
3387634751
[analyzer] [NFC] A convenient getter for getting a current stack frame
|
7 年之前 |
Artem Dergachev
|
747fefe469
[analyzer] Re-enable C++17-specific RVO construction contexts.
|
7 年之前 |
Artem Dergachev
|
1c7d3ca00f
[analyzer] Re-enable C++17-specific variable and member construction contexts.
|
7 年之前 |
Artem Dergachev
|
0d16135638
[analyzer] Track class member initializer constructors path-sensitively.
|
7 年之前 |
Artem Dergachev
|
ac7160d5c1
[analyzer] pr37270: Track constructor target region, even if just a variable.
|
7 年之前 |
Artem Dergachev
|
43ed70876c
[analyzer] NFC: Merge code for finding and tracking construction target.
|
7 年之前 |
Artem Dergachev
|
01f66df781
[analyzer] Re-enable constructors when lifetime extension through fields occurs.
|
7 年之前 |
Artem Dergachev
|
a4a9c5d1fd
[analyzer] NFC: Track all constructed objects in a single state trait.
|
7 年之前 |
Artem Dergachev
|
4f25981ffc
[analyzer] pr18953: Split C++ zero-initialization from default initialization.
|
7 年之前 |
Richard Smith
|
5d50602a8d
Track the result of evaluating a computed noexcept specification on the
|
7 年之前 |
Artem Dergachev
|
58aba33e0f
[analyzer] Fix a crash on lifetime extension through aggregate initialization.
|
7 年之前 |
Alexander Kornienko
|
b8b9458165
Fix typos in clang
|
7 年之前 |
Artem Dergachev
|
a83ee8e3d1
[CFG] [analyzer] Avoid modeling C++17 constructors that aren't fully supported.
|
7 年之前 |
Artem Dergachev
|
59b2b9fc2d
[CFG] [analyzer] Add C++17-specific ctor-initializer construction contexts.
|
7 年之前 |
Artem Dergachev
|
71e8b54df4
[analyzer] Remove an assertion that doesn't hold in C++17.
|
7 年之前 |
Artem Dergachev
|
8f8f301be5
[CFG] [analyzer] Add C++17-specific variable and return construction contexts.
|
7 年之前 |
Artem Dergachev
|
b2dc2834ca
[analyzer] NFC: Move the code for setting temp object lifetime into method.
|
7 年之前 |
Artem Dergachev
|
9a1bd8b74c
[analyzer] Destroy and lifetime-extend inlined function return values properly.
|
7 年之前 |
Artem Dergachev
|
8465e3a177
[analyzer] Fix trivial copy for empty objects.
|
7 年之前 |
Artem Dergachev
|
9b8c64d519
[analyzer] Disable constructor inlining when lifetime extending through a field.
|
7 年之前 |
Artem Dergachev
|
f524e7c6ff
[CFG] NFC: Refactor ConstructionContext into a finite set of cases.
|
7 年之前 |
Artem Dergachev
|
b4b42d6821
[analyzer] Introduce correct lifetime extension behavior in simple cases.
|
7 年之前 |
Aaron Ballman
|
49a88cd680
Silence some -Wunused-variable warnings; NFC.
|
7 年之前 |
Artem Dergachev
|
f337a76051
[analyzer] Compute the correct this-region for temporary destructors.
|
7 年之前 |
Artem Dergachev
|
54cd87a7b2
[analyzer] NFC: Eliminate ParentMap lookup in mayInlineCallKind().
|
7 年之前 |
Artem Dergachev
|
7d59ecf0b3
[analyzer] Inline constructors for destroyable temporaries.
|
7 年之前 |
Artem Dergachev
|
6b4c160f3b
[analyzer] Decide on inlining destructors via EvalCallOptions.
|
7 年之前 |
Artem Dergachev
|
9b6800302f
[analyzer] Allow inlining constructors into return values.
|
7 年之前 |