[clang-tools-extra] [clang-doc] [feat] add --repository-line-prefix argument (PR #131280)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 15:01:18 PDT 2025


ilovepi wrote:

> @ilovepi About `writeFileDefiniation`, what's your opinion about making it similar to the markdown generator like this?
> 
> ```c++
> static void writeFileDefinition(const ClangDocContext &CDCtx, const Location &L);
> ```
> 
> I think it's more better

That would probably be fine, except we do need some way to customize those strings. How do you envision the API would work if you remove those parameters?

https://github.com/llvm/llvm-project/pull/131280


More information about the cfe-commits mailing list