llvm-project/clang-tools-extra/clangd/index
Fangrui Song 407c721ceb [Support] Change zlib::compress to return void
With a sufficiently large output buffer, the only failure is Z_MEM_ERROR.
Check it and call the noreturn report_bad_alloc_error if applicable.
resize_for_overwrite may call report_bad_alloc_error as well.

Now that there is no other error type, we can replace the return type with void
and simplify call sites.

Reviewed By: ikudrin

Differential Revision: https://reviews.llvm.org/D121512
2022-03-14 11:38:04 -07:00
..
dex [clangd] Make dexp command line options sticky 2022-03-09 13:00:25 +07:00
remote Add 'clangd' prefix to remote index proto targets 2022-01-29 02:20:52 +01:00
Background.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Background.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
BackgroundIndexLoader.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
BackgroundIndexLoader.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
BackgroundIndexStorage.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
BackgroundQueue.cpp [clangd] Explicitly avoid background-indexing the same file twice. 2021-01-13 17:29:30 +01:00
BackgroundRebuild.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
BackgroundRebuild.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CanonicalIncludes.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CanonicalIncludes.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FileIndex.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FileIndex.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Index.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Index.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
IndexAction.cpp [clangd] Fix wrong included header. NFC 2022-02-26 14:21:52 +01:00
IndexAction.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
MemIndex.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
MemIndex.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Merge.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Merge.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ProjectAware.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ProjectAware.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
Ref.cpp [clangd] Avoid wasteful data structures in RefSlab::Builder 2020-05-18 22:34:59 +02:00
Ref.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Relation.cpp [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
Relation.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Serialization.cpp [Support] Change zlib::compress to return void 2022-03-14 11:38:04 -07:00
Serialization.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Symbol.cpp [clangd] Drop TestTUs dependency on gtest 2021-06-07 13:25:22 +02:00
Symbol.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SymbolCollector.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SymbolCollector.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SymbolID.cpp [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00
SymbolID.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SymbolLocation.cpp [clangd] Avoid wasteful data structures in RefSlab::Builder 2020-05-18 22:34:59 +02:00
SymbolLocation.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
SymbolOrigin.cpp [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
SymbolOrigin.h [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
YAMLSerialization.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00