Changes
Summary
- Make check-clang depend on the clang-check binary always check-clang (the target that runs all clang tests) used to only depend on clang-check (a binary like clang-tidy, clang-refactor, etc) if the static analyzer is enabled. However, several lit tests call clang-check unconditionally, so always depend on it. Fixes a "could not find clang-check" lit warning in clean builds with the static analyzer disabled. Also sort the deps in the CMake file and put just one dep on each line. Differential Revision: https://reviews.llvm.org/D61324
- Minor tweaks to PDB docs - Fix a broken link - Some spelling fixes - Remove an unnecessary "amortized" - Don't say "log(n) random access"; "random access" means O(1) - Make MSF overview a bit more concise Differential Revision: https://reviews.llvm.org/D61196
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /cfe/trunk/test/CMakeLists.txt | N/A |
![]() | /llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn | trunk/utils/gn/secondary/clang/test/BUILD.gn |
Change Type | Path in Repository | Path in Workspace |
![]() | /llvm/trunk/docs/PDB/DbiStream.rst | trunk/docs/PDB/DbiStream.rst |
![]() | /llvm/trunk/docs/PDB/TpiStream.rst | trunk/docs/PDB/TpiStream.rst |
![]() | /llvm/trunk/docs/PDB/index.rst | trunk/docs/PDB/index.rst |
![]() | /llvm/trunk/include/llvm/DebugInfo/PDB/Native/RawTypes.h | trunk/include/llvm/DebugInfo/PDB/Native/RawTypes.h |
Summary
- Make check-clang depend on the clang-check binary always check-clang (the target that runs all clang tests) used to only depend on clang-check (a binary like clang-tidy, clang-refactor, etc) if the static analyzer is enabled. However, several lit tests call clang-check unconditionally, so always depend on it. Fixes a "could not find clang-check" lit warning in clean builds with the static analyzer disabled. Also sort the deps in the CMake file and put just one dep on each line. Differential Revision: https://reviews.llvm.org/D61324
- [Parser] Avoid correcting delayed typos in array subscript multiple times. We correct some typos in `ActOnArraySubscriptExpr` and `ActOnOMPArraySectionExpr`, so when their result is `ExprError`, we can end up correcting delayed typos in the same expressions again. In general it is OK but when `NumTypos` is incorrect, we can hit the assertion > Assertion failed: (Entry != DelayedTypos.end() && "Failed to get the state for a TypoExpr!"), function getTypoExprState, file clang/lib/Sema/SemaLookup.cpp, line 5219. Fix by replacing some subscript `ExprResult` with typo-corrected expressions instead of keeping the original expressions. Thus if original expressions contained `TypoExpr`, we'll use corrected expressions instead of trying to correct them again. rdar://problem/47403222 Reviewers: rsmith, erik.pilkington, majnemer Reviewed By: erik.pilkington Subscribers: jkorous, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D60848
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /cfe/trunk/test/CMakeLists.txt | trunk/test/CMakeLists.txt |
![]() | /llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn | N/A |
Change Type | Path in Repository | Path in Workspace |
![]() | /cfe/trunk/lib/Parse/ParseExpr.cpp | trunk/lib/Parse/ParseExpr.cpp |
![]() | /cfe/trunk/test/SemaCXX/typo-correction.cpp | trunk/test/SemaCXX/typo-correction.cpp |
![]() | /cfe/trunk/test/SemaObjC/typo-correction-subscript.m | trunk/test/SemaObjC/typo-correction-subscript.m |
Summary
- [sanitizer][NFC] Get type of AllocatorCache from CombinedAllocator Reviewers: eugenis, cryptoad, kcc Reviewed By: kcc Subscribers: kcc, kubamracek, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D61155