Fangrui Song

Results 147 comments of Fangrui Song

Awesome! I've verified that `ccls-call-hierarchy` `ccls-inheritance-hierarchy` and `ccls-member-hierarchy` work. I've got a few questions: * When I call `ccls-call-hierarchy`, the `*LSP Lookup*` window does not get focus. How can I...

> ``` > M-x lsp-treemacs-XXX - takes the focus > C-u M-x lsp-treemacs-XXX - does not take the focus. > ``` > > Looks good. I can implement that functionality....

If you run the compiler driver command in a different directory, it will likely fail. The `-working-directory` option gives a hint.

Similar issues were also reported at https://bugzilla.redhat.com/show_bug.cgi?id=1427000 and https://github.com/gtk2hs/gtk2hs/issues/200. /usr/lib/gcc/i686-pc-linux-gnu/7.1.1/include/stddef.h:435: ```c #ifdef __i386__ __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128)))); #endif ``` The type `__float128` exposed in i686 build is unsupported by `language-c` used...

The `__float128` change to `language-c` is upstreamed https://github.com/visq/language-c/pull/33

Defining `_GLOBAL_OFFSET_TABLE_` (the start of `.got`) will be nice. On x86, the lack of clarity caused https://reviews.llvm.org/D59594 to lld. Note that we should not require `.got[0] == _DYNAMIC`. GNU ld's...

Since the section content is not shortened, perhaps this can be called optimization instead of relaxation. 3 TLS optimizations may be described: * TLS descriptor to Local Exec * TLS...

#667 is an improvement but there are still many `-Wdeprecated-non-prototype` with recent clang and the just-released clang 15.0.0. As the tip of the iceberg: ``` :1152:12: warning: a function definition...

@Markus87 https://github.com/Markus87/zlib master branch fixes all Clang warnings! @madler It would be great to merge that change:) I understand that there may be straggling systems which do not support ANSI...

@AaronBallman may comment on the state of K&R function definitions.