llvm-project/clang/unittests/StaticAnalyzer
Balazs Benics 63d3aeb529 [analyzer] Fix out-of-tree only clang build by not relaying on private header
It turned out that the D78704 included a private LLVM header, which is excluded
from the LLVM install target.
I'm substituting that `#include` with the public one by moving the necessary
`#define` into that. There was a discussion about this at D78704 and on the
cfe-dev mailing list.

I'm also placing a note to remind others of this pitfall.

Reviewed By: mgorny

Differential Revision: https://reviews.llvm.org/D84929
2020-07-31 10:28:14 +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] Remove warning caused by commit `rGe22ace8ba2b0` 2020-06-09 15:46:15 +02:00