llvm-project/clang/unittests/StaticAnalyzer
Adam Balogh facad21b29 [Analyzer] Fix for `ExprEngine::computeObjectUnderConstruction()` for base and delegating consturctor initializers
For /C++/ constructor initializers `ExprEngine:computeUnderConstruction()`
asserts that they are all member initializers. This is not neccessarily
true when this function is used to get the return value for the
construction context thus attempts to fetch return values of base and
delegating constructor initializers result in assertions. This small
patch fixes this issue.

Differential Revision: https://reviews.llvm.org/D85351
2020-09-25 13:28:22 +02:00
..
AnalyzerOptionsTest.cpp [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
CMakeLists.txt [analyzer][NFC] Add unittest for FalsePositiveRefutationBRVisitor 2020-06-29 18:18:43 +02:00
CallDescriptionTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
CallEventTest.cpp [analyzer][NFC] Introduce CXXDeallocatorCall, deploy it in MallocChecker 2020-05-19 00:18:38 +02:00
CheckerRegistration.h [analyzer][NFC] Add unittest for FalsePositiveRefutationBRVisitor 2020-06-29 18:18:43 +02:00
FalsePositiveRefutationBRVisitorTest.cpp [analyzer] Fix out-of-tree only clang build by not relaying on private header 2020-07-31 10:28:14 +02:00
ParamRegionTest.cpp [Analyzer] Replace `assert` with `ASSERT_TRUE` in a unit test to silence warnings 2020-06-12 17:09:34 +02:00
RangeSetTest.cpp [analyzer] Improved RangeSet::Negate support of unsigned ranges 2020-05-25 18:52:22 +03:00
RegisterCustomCheckersTest.cpp [analyzer] Force dependency checkers to be hidden 2020-07-06 13:05:45 +02:00
Reusables.h [analyzer] Add the Preprocessor to CheckerManager 2020-03-26 17:29:52 +01:00
StoreTest.cpp [analyzer] Allow bindings of the CompoundLiteralRegion 2020-05-28 14:11:57 +03:00
SymbolReaperTest.cpp [Tooling] Migrated APIs that take ownership of objects to unique_ptr 2019-08-30 09:29:34 +00:00
TestReturnValueUnderConstruction.cpp [Analyzer] Fix for `ExprEngine::computeObjectUnderConstruction()` for base and delegating consturctor initializers 2020-09-25 13:28:22 +02:00