Currently, clangd crashes when opening a file with #pragma clang __debug parser_crash (e.g. clang/test/Modules/Inputs/crash.h).
This patch disables these crashes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D86279
[clangd] Don't crash on `#pragma clang __debug parser_crash` ClosedPublic Authored by ArcsinX on Aug 20 2020, 3:50 AM.
Details Summary Currently, clangd crashes when opening a file with #pragma clang __debug parser_crash (e.g. clang/test/Modules/Inputs/crash.h).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 20 2020, 5:32 AM Closed by commit rG445739826567: [clangd] Don't crash on `#pragma clang __debug parser_crash` (authored by ArcsinX). · Explain WhyAug 20 2020, 5:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 286797 clang-tools-extra/clangd/Compiler.cpp
clang-tools-extra/clangd/unittests/CompilerTests.cpp
|