Kadir Cetinkaya
f71404c37c
[clangd] Replace usages of dummy with more descriptive words
...
Dummy is a word with inappropriate associations. This patch updates the
references to it in clangd code base with more precise ones.
The only user-visible change is the default variable name used when extracting a
variable. It will be named as `placeholder` from now on.
Differential Revision: https://reviews.llvm.org/D99065
2021-03-22 12:49:24 +01:00
Kadir Cetinkaya
20f69ccfe6
[clangd] Add a helper for exposing tracer status
2020-10-12 15:25:29 +02: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
Simon Pilgrim
6e99199419
Fix "not all control paths return a value" warning on MSVC builds.
...
Use llvm_unreachable as typeName(Metric::MetricType T) should handle all enum values.
2020-05-19 13:16:24 +01: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
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