Hello. May I ask how do I add a new line to a doxygen comment? I've tried < br >, \n, or two spaces after the line, but nothing works.
Search Criteria
Package Details: clangd-opt-git 22.r10834.g8589d8fbbe996-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/clangd-opt-git.git (read-only, click to copy) | 
|---|---|
| Package Base: | clangd-opt-git | 
| Description: | Trunk version of standalone clangd binary, with custom patches (look AUR page or PKGBUILD comments) | 
| Upstream URL: | https://llvm.org/ | 
| Licenses: | Apache-2.0 WITH LLVM-exception | 
| Conflicts: | clangd-opt | 
| Provides: | clangd-opt | 
| Replaces: | clangd-opt | 
| Submitter: | sr.team | 
| Maintainer: | sr.team | 
| Last Packager: | sr.team | 
| Votes: | 4 | 
| Popularity: | 0.154143 | 
| First Submitted: | 2024-03-15 10:25 (UTC) | 
| Last Updated: | 2025-10-11 22:37 (UTC) | 
Dependencies (18)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR)
- ncurses (ncurses-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libedit (make)
- libffi (libffi-gitAUR) (make)
- libxml2 (libxml2-gitAUR) (make)
- ncurses (ncurses-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR) (make)
- patch (patch-gitAUR) (make)
- python-psutil (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat) (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
Required by (0)
Sources (15)
- git+https://github.com/llvm/llvm-project.git#branch=main
- hover-bit-fields-mask.patch
- hover-hex-formats.patch
- hover-layout-everyhere.patch
- hover-no-defs.patch
- hover-resolve-forward-params.patch
- hover-virt-offset.patch
- implement-abstract-class.patch
- inlay-hints-hide-deduced-types-ignore-evident.patch
- inlay-hints-paddings.patch
- lsp-codelens.patch
- lsp-remove-files-from-cdb.patch
- postfix-completion-trunk.patch
- refactor-extract-function.patch
- resolve-incomplete-header-includes.patch
lkk9898969 commented on 2025-07-13 17:01 (UTC) (edited on 2025-07-13 17:01 (UTC) by lkk9898969)
aliu commented on 2025-04-26 21:09 (UTC)
https://github.com/llvm/llvm-project/compare/main...Trass3r:llvm-project:codelens seems like some compelling efforts to fix some bugs with the CodeLens patch.
aliu commented on 2025-04-18 16:02 (UTC)
Ah, I somehow didn't have that. So sorry.
sr.team commented on 2025-04-18 15:10 (UTC)
@aliu already rebased in January
aliu commented on 2025-04-17 15:50 (UTC)
Some patches need to be rebased due to https://github.com/llvm/llvm-project/pull/122289 changing the signature of Decl.getBitWidthValue(Ctx) to having no arguments. Also, the patches that modify CodeComplete.cpp need replacing S.Documentation with S.Documentation.CommentText in some places.
sr.team commented on 2025-02-20 18:27 (UTC)
@aliu yes
aliu commented on 2025-02-19 21:13 (UTC) (edited on 2025-02-19 21:16 (UTC) by aliu)
But none of these failed tests are due to the way I adapted the dependent types resolution patch to work, right? You can see how I adapted it in https://github.com/llvm/llvm-project/commit/3be440ad4de88b530fef31f3bdfe91817e93ef7a (though part of it deals with reverting an earlier hack I did).
sr.team commented on 2025-02-10 08:24 (UTC) (edited on 2025-02-10 08:27 (UTC) by sr.team)
On branch 21 broken symbol and hover providers.
It's not bug of provided patches in this AUR. With clear clangd build, issue is still: in some files clangd stuck on resolving local symbols and hover information (code completion continue works).
Commit as known is not affected: b80965efc1ea (from branch 20)
aliu commented on 2025-02-08 16:10 (UTC) (edited on 2025-02-08 16:11 (UTC) by aliu)
I got resolving dependent types working at https://github.com/aaronliu0130/clangd-opt by moving some of the AST.h functions into clang/Instantiation.h. I also fixed the compilation of tests so that they now fail instead of failing to compile.
Failed Tests (34)
Failed Tests (34): Clangd :: hover.test Clangd :: index-serialization/version-is-correct.test Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Functions Clangd Unit Tests :: ./ClangdTests/BlockEndHints/If Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Loops Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Macro Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Methods Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Namespaces Clangd Unit Tests :: ./ClangdTests/BlockEndHints/PointerToMemberFunction Clangd Unit Tests :: ./ClangdTests/BlockEndHints/PrintConversions Clangd Unit Tests :: ./ClangdTests/BlockEndHints/PrintLiterals Clangd Unit Tests :: ./ClangdTests/BlockEndHints/PrintOperators Clangd Unit Tests :: ./ClangdTests/BlockEndHints/PrintRefs Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Switch Clangd Unit Tests :: ./ClangdTests/BlockEndHints/TrailingSemicolon Clangd Unit Tests :: ./ClangdTests/BlockEndHints/TrailingText Clangd Unit Tests :: ./ClangdTests/BlockEndHints/Types Clangd Unit Tests :: ./ClangdTests/CompletionStringTest/DoxygenParsing Clangd Unit Tests :: ./ClangdTests/CompletionStringTest/GetDeclDocumentationBadUTF8 Clangd Unit Tests :: ./ClangdTests/CompletionTest/Documentation Clangd Unit Tests :: ./ClangdTests/CompletionTest/RenderWithFixItMerged Clangd Unit Tests :: ./ClangdTests/ExtractFunctionTest/FileTest Clangd Unit Tests :: ./ClangdTests/Hover/All Clangd Unit Tests :: ./ClangdTests/Hover/HideBigInitializers Clangd Unit Tests :: ./ClangdTests/Hover/Present Clangd Unit Tests :: ./ClangdTests/Hover/SpaceshipTemplateNoCrash Clangd Unit Tests :: ./ClangdTests/Hover/Structured Clangd Unit Tests :: ./ClangdTests/Hover/Typedefs Clangd Unit Tests :: ./ClangdTests/InlayHints/RestrictRange Clangd Unit Tests :: ./ClangdTests/SymbolCollectorTest/DocumentationAtDeclThenDef Clangd Unit Tests :: ./ClangdTests/TypeHints/Decltype Clangd Unit Tests :: ./ClangdTests/TypeHints/Deduplication Clangd Unit Tests :: ./ClangdTests/TypeHints/Smoke Clangd Unit Tests :: ./ClangdTests/TypeHints/SubstTemplateParameterAliases
sr.team commented on 2025-02-08 04:44 (UTC)
Sorry for forgetting to send updated patches in January.
Also about the Resolve includes in non-self-contained headers patch - I'm thinking about remove it. This patch bugged as described here - sometime non-self-contained headers still broken, and sometimes it's broke analyzer in source files 
Pinned Comments
sr.team commented on 2024-03-15 10:25 (UTC) (edited on 2025-04-26 18:17 (UTC) by sr.team)
This PKGBUILD build trunk version of clangd, and may apply some non-standard patches
Applying patches controls via enviroment variables (e.g.
CLANGD_DEFAULT_PATCH_STATE=y makepkg -si)List of patches and environment variables to enable them
Toggle all below patches
CLANGD_DEFAULT_PATCH_STATE:Apply user patches from
~/.config/clangd. Patches must have extension*.patchNOTE: This variable ignores the
CLANGD_DEFAULT_PATCH_STATEvariableCLANGD_USER_PATCHES:For each of the following patches, set the corresponding environment variable to:
Show Doxygen comments in hover (D134130)
CLANGD_DOXYGENResolve forwarded parameters in hover (D130265)
CLANGD_RESOLVEFWDPARAMSImplement textDocument/codeLens (D91930)
It's also required patched
vscode-clangdextension - vscode-clangd/46266b4adb106b5080f5c771099c777806a16adcCLANGD_CODELENSContextual postfix completions (D125224)
Demo: asciinema.org/a/rxyoicX44ya2jLDpdbNj3rVcC
CLANGD_POSTFIXCOMPLETIONExtract Function: add hoisting support (D138499)
CLANGD_EXTRACTFUNCAdd inlay hints for structure paddings
CLANGD_INLAYHINTSPADSAdd hex formats in
sizeandoffsetfields on hover, when values more than 10CLANGD_HOVERINHEXShow mask for bit fields on hover
Demo: Screen 1, Screen 2
CLANGD_HOVERBITFIELDSMASKShow offset of virtual methods
Limitations: supports only Itanium and MS abi
CLANGD_HOVERVIRTOFFShow layout hover info everyhere
CLANGD_HOVERLAYOUTEVERYHEREHide definition from hover info for functions and variables
CLANGD_HOVERNODEFSResolve the dependent type from its single instantiation (PR: 71279)
CLANGD_RESOLVEDEPTYPEResolve includes in non-self-contained headers
Limitations: AST for source must be loaded before open incomplete header
CLANGD_RESOLVEINCHEADERSAdd way to remove files from CDB via LSP
No need in many cases. Useful only in multi project workspaces with patched client
CLANGD_LSPREMOVEFROMCDBShow total record paddings in hover
CLANGD_HOVERRECORDPADAdd tweak for implementing abstract class (D94942)
CLANGD_IMPL_ABSTRACT_CLASSHover information: Show fields indexes in layout:
Offset: 8 bytes (index 1)CLANGD_HOVERFIELDIDXInlay hints: Ignore evident types in deduced types
CLANGD_INLAYHINTSIGNOREEVIDENTImplement simple folding of preprocessor branches (PR: 80592)
CLANGD_PREPROCESSOR_FOLDING