Kirill Bobyrev
ee02e20c08
[clangd] NFC: Use SmallVector<T> where possible
...
SmallVector<T> with default size is now the recommended version (D92522).
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D92788
2020-12-10 13:36:49 +01:00
Kadir Cetinkaya
68b48339e5
[clangd] Fix a null dereference in tests.
2020-10-28 18:24:26 +01:00
Sam McCall
8f1de22c76
[clangd] Stop capturing trace args if the tracer doesn't need them.
...
The tracer is now expected to allocate+free the args itself.
Differential Revision: https://reviews.llvm.org/D89135
2020-10-12 13:43:05 +02:00
Sam McCall
5bc0c8f009
[clangd] Avoid StringRef entirely with gmock
2020-05-19 16:50:35 +02:00
Sam McCall
7ebf7d91e6
[clangd] Delete regex assertion, breaking on windows too...
2020-05-19 16:07:01 +02:00
Sam McCall
61559d0458
[clangd] Squash GCC error with StringRef + gtest MatchesRegex()
2020-05-19 13:58:23 +02:00
Sam McCall
9b88a190b4
[clangd] Add CSV export for trace metrics
...
Summary: Example: https://docs.google.com/spreadsheets/d/1VZKGetSUTTDe9p4ooIETmdcwUod1_aE3vgD0E9x7HhI/edit
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D79678
2020-05-19 13:35:31 +02:00
Kadir Cetinkaya
7016043d0d
[clangd] Change include to be relative to current directory
2020-05-03 18:09:50 +02:00
Kadir Cetinkaya
e64f99c51a
[clangd] Metric tracking through Tracer
...
Summary: Introduces an endpoint to Tracer for tracking metrics on
internal events.
Reviewers: sammccall
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78429
2020-05-03 10:50:32 +02:00
Sam McCall
ad97ccf6b2
[clangd] Move non-clang base pieces into separate support/ lib. NFCI
...
Summary:
This enforces layering, reduces a sprawling clangd/ directory, and makes life
easier for embedders.
Reviewers: kbobyrev
Subscribers: mgorny, ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D79014
2020-04-29 15:57:12 +02:00