[all-commits] [llvm/llvm-project] 445739: [clangd] Don't crash on `#pragma clang __debug par...
Aleksandr Platonov via All-commits
all-commits at lists.llvm.org
Thu Aug 20 05:54:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 445739826567e5402b558f2c130d76dc916c82ec
https://github.com/llvm/llvm-project/commit/445739826567e5402b558f2c130d76dc916c82ec
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2020-08-20 (Thu, 20 Aug 2020)
Changed paths:
M clang-tools-extra/clangd/Compiler.cpp
M clang-tools-extra/clangd/unittests/CompilerTests.cpp
Log Message:
-----------
[clangd] Don't crash on `#pragma clang __debug parser_crash`
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.
Reviewed By: kadircet
Differential Revision: https://reviews.llvm.org/D86279
More information about the All-commits
mailing list