llvm-project/clang-tools-extra/clangd/index
Christian Kühnel 8edfc2f814 [clangd] Cleanup of readability-identifier-naming
Auto-generated patch based on clang-tidy readability-identifier-naming.
Only some manual cleanup for `extern "C"` declarations and a GTest change was required.

I'm not sure if this cleanup is actually very useful. It cleans up clang-tidy findings to the number of warnings from clang-tidy should be lower.  Since it was easy to do and required only little cleanup I thought I'd upload it for discussion.

One pattern that keeps recurring: Test **matchers** are also supposed to start with a lowercase letter as per LLVM convention. However GTest naming convention for matchers start with upper case. I would propose to keep stay consistent with the GTest convention there. However that would imply a lot of `//NOLINT` throughout these files.

To re-product this patch run:
```
run-clang-tidy -checks="-*,readability-identifier-naming" -fix -format ./clang-tools-extra/clangd
```

To convert the macro names, I was using this script with some manual cleanup afterwards:
https://gist.github.com/ChristianKuehnel/a01cc4362b07c58281554ab46235a077

Differential Revision: https://reviews.llvm.org/D115634
2022-02-01 13:31:52 +00:00
..
dex [NFC][clangd] cleaning up llvm-qualified-auto 2022-01-25 13:26:33 +00:00
remote Add 'clangd' prefix to remote index proto targets 2022-01-29 02:20:52 +01:00
Background.cpp [clangd][Background] Make index validation logs verbose 2022-01-21 12:37:20 +01:00
Background.h [clangd] Remove some obsolete options that are now always on 2021-02-01 17:24:03 +01:00
BackgroundIndexLoader.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
BackgroundIndexLoader.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
BackgroundIndexStorage.cpp [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
BackgroundQueue.cpp [clangd] Explicitly avoid background-indexing the same file twice. 2021-01-13 17:29:30 +01:00
BackgroundRebuild.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
BackgroundRebuild.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
CanonicalIncludes.cpp [clangd] Group filename calculations in SymbolCollector, and cache mroe. 2021-03-11 12:59:26 +01:00
CanonicalIncludes.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
FileIndex.cpp [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
FileIndex.h [clangd] Cleanup unneeded use of shared_ptr. NFC 2021-12-15 02:13:50 +01:00
Index.cpp [clangd] Cleanup FuzzyFindRequest serialization and dex benchmark 2021-07-21 14:51:16 +02:00
Index.h [clangd] Perform merging for stale symbols in MergeIndex 2021-03-30 11:09:51 +02:00
IndexAction.cpp [NFC][clangd] cleaning up llvm-qualified-auto 2022-01-25 13:26:33 +00:00
IndexAction.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
MemIndex.cpp [clangd] Use URIs instead of paths in the index file list 2021-03-06 10:47:05 +03:00
MemIndex.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Merge.cpp [clangd] Perform merging for stale symbols in MergeIndex 2021-03-30 11:09:51 +02:00
Merge.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
ProjectAware.cpp [clangd] Drop optional on ExternalIndexSpec 2021-06-02 23:26:37 +02: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] Store the containing symbol for refs 2020-11-04 03:21:45 -05:00
Relation.cpp [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
Relation.h [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
Serialization.cpp [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
Serialization.h [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
Symbol.cpp [clangd] Drop TestTUs dependency on gtest 2021-06-07 13:25:22 +02:00
Symbol.h [clangd] Drop TestTUs dependency on gtest 2021-06-07 13:25:22 +02:00
SymbolCollector.cpp [NFC][clangd] cleaning up llvm-qualified-auto 2022-01-25 13:26:33 +00:00
SymbolCollector.h [clangd] Don't index __reserved_names in headers. 2022-01-05 16:34:04 +01:00
SymbolID.cpp [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00
SymbolID.h [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +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] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00