mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[clangd] Include the correct header for typeid()
Fixes https://github.com/clangd/clangd/issues/1449 Differential Revision: https://reviews.llvm.org/D141218
This commit is contained in:
parent
96f1cd2427
commit
056d4dca77
@ -225,7 +225,7 @@ std::vector<Fix> IncludeFixer::fix(DiagnosticsEngine::Level DiagLevel,
|
||||
case diag::err_implied_std_initializer_list_not_found:
|
||||
return only(insertHeader("<initializer_list>"));
|
||||
case diag::err_need_header_before_typeid:
|
||||
return only(insertHeader("<typeid>"));
|
||||
return only(insertHeader("<typeinfo>"));
|
||||
case diag::err_need_header_before_placement_new:
|
||||
case diag::err_implicit_coroutine_std_nothrow_type_not_found:
|
||||
return only(insertHeader("<new>"));
|
||||
|
Loading…
Reference in New Issue
Block a user