conrade-ctc wrote:

> --- clang/lib/Interpreter/IncrementalExecutor.cpp.orig
> +++ clang/lib/Interpreter/IncrementalExecutor.cpp
> @@ -76,7 +76,7 @@
>  // and AIX / z/OS (whose runtimes may not provide the symbol). On those hosts
>  // thread_locals instead rely on process-symbol lookup, unchanged from 
> before.
>  #if defined(LLVM_ON_UNIX) && !defined(__EMSCRIPTEN__) && !defined(_AIX) &&   
>   \
> -    !defined(__MVS__)
> +    !defined(__MVS__) && !defined(__FreeBSD__)
>  extern "C" void *__emutls_get_address(void *);
>  static void *getEmuTLSGetAddressPtr() {
>    return reinterpret_cast<void *>(&__emutls_get_address);

@brooksdavis, I just double-checked and it was a pass of `clang-format 
--style=LLVM` that is responsible for formatting the line break that way! 
Probably needs a tweak to the `ColumnLimit: 80, AlignEscapedNewlines: Right, 
ContinuationIndentWidth: 4` that causes it... agree it's ugly :(

https://github.com/llvm/llvm-project/pull/209717
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to