llvm-project/clang-tools-extra/clangd/index
Sam McCall bed5885d9e [clangd] Upgrade logging facilities with levels and formatv.
Summary:
log() is split into four functions:
 - elog()/log()/vlog() have different severity levels, allowing filtering
 - dlog() is a lazy macro which uses LLVM_DEBUG - it logs to the logger, but
   conditionally based on -debug-only flag and is omitted in release builds

All logging functions use formatv-style format strings now, e.g:
  log("Could not resolve URI {0}: {1}", URI, Result.takeError());

Existing log sites have been split between elog/log/vlog by best guess.

This includes a workaround for passing Error to formatv that can be
simplified when D49170 or similar lands.

Subscribers: ilya-biryukov, javed.absar, ioeric, MaskRay, jkorous, cfe-commits

Differential Revision: https://reviews.llvm.org/D49008

llvm-svn: 336785
2018-07-11 10:35:11 +00:00
..
CanonicalIncludes.cpp [clangd] Skip .inc headers when canonicalizing header #include. 2018-05-24 14:40:24 +00:00
CanonicalIncludes.h [clangd] clang-format the source code. NFC 2018-05-30 12:41:19 +00:00
FileIndex.cpp [clangd] Track origins of symbols (various indexes, Sema). 2018-07-05 06:20:41 +00:00
FileIndex.h [clangd] Customizable URI schemes for dynamic index. 2018-06-15 08:55:00 +00:00
Index.cpp [clangd] Make SymbolOrigin an enum class, rather than a plain enum. 2018-07-06 11:50:49 +00:00
Index.h [clangd] Make SymbolOrigin an enum class, rather than a plain enum. 2018-07-06 11:50:49 +00:00
MemIndex.cpp [clangd] Add "member" symbols to the index 2018-06-05 14:01:40 +00:00
MemIndex.h [clangd] Add an interface that finds symbol by SymbolID in SymbolIndex. 2018-03-14 09:48:05 +00:00
Merge.cpp [clangd] Make SymbolOrigin an enum class, rather than a plain enum. 2018-07-06 11:50:49 +00:00
Merge.h [clangd] Merge results from static/dynamic index. 2018-01-15 12:33:00 +00:00
SymbolCollector.cpp [clangd] Upgrade logging facilities with levels and formatv. 2018-07-11 10:35:11 +00:00
SymbolCollector.h [clangd] Support indexing MACROs. 2018-07-09 15:31:07 +00:00
SymbolYAML.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
SymbolYAML.h [clangd] clang-format the source code. NFC 2018-05-30 12:41:19 +00:00