mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-08 01:04:54 +00:00
Misc
This commit is contained in:
parent
c9b213150d
commit
d3a3bcef34
@ -41,7 +41,6 @@ cquery has system include path detection (through running the compiler driver) w
|
|||||||
# >>> [Getting started](../../wiki/Home) (CLICK HERE) <<<
|
# >>> [Getting started](../../wiki/Home) (CLICK HERE) <<<
|
||||||
|
|
||||||
* [Build](../../wiki/Build)
|
* [Build](../../wiki/Build)
|
||||||
* [Client feature table](../../wiki/Client-feature-table)
|
|
||||||
* [FAQ](../../wiki/FAQ)
|
* [FAQ](../../wiki/FAQ)
|
||||||
|
|
||||||
ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See [wiki/compile_commands.json](../../wiki/compile_commands.json) for examples.
|
ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See [wiki/compile_commands.json](../../wiki/compile_commands.json) for examples.
|
||||||
|
@ -473,7 +473,8 @@ public:
|
|||||||
info.usr = HashUsr(USR);
|
info.usr = HashUsr(USR);
|
||||||
if (auto *ND = dyn_cast<NamedDecl>(D)) {
|
if (auto *ND = dyn_cast<NamedDecl>(D)) {
|
||||||
info.short_name = ND->getNameAsString();
|
info.short_name = ND->getNameAsString();
|
||||||
info.qualified = ND->getQualifiedNameAsString();
|
llvm::raw_string_ostream OS(info.qualified);
|
||||||
|
ND->printQualifiedName(OS, GetDefaultPolicy());
|
||||||
SimplifyAnonymous(info.qualified);
|
SimplifyAnonymous(info.qualified);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user