Page MenuHomePhabricator

[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).
This patch disables these crashes.

Diff Detail

Event Timeline

ArcsinX created this revision.Aug 20 2020, 3:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2020, 3:50 AM
ArcsinX requested review of this revision.Aug 20 2020, 3:50 AM
kadircet accepted this revision.Aug 20 2020, 5:32 AM

thanks, lgtm!

This revision is now accepted and ready to land.Aug 20 2020, 5:32 AM