[cfe-users] Compiling for Linux (with Visual Studio and Clang)

2020-08-04 Thread John Emmas via cfe-users
Hi there...  back in 2019 I read somewhere that the clang devs and 
Microsoft were collaborating to make Visual Studio compatible with 
clang.  IIRC the goal was to be able to use Visual Studio to build 
programs for both Windows and Linux.  I tested Visual Studio with clang 
(on Windows) and I was hugely surprised at how well they work together!!


So what's the situation if I want to compile some C++ code for Linux?  I 
realise that Windows-specific features won't be supported (e.g. MFC) but 
what about cross-platform code?  Is there a Linux version of Visual 
Studio available now?  Or does it work by cross-compiling from VS (in 
Windows) somehow?  Hope that makes sense


John
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


[cfe-users] Add a blank line between member declarations

2020-08-04 Thread Ahmet Bilgin via cfe-users
Hello,
I was wondering if clang-format supports adding a blank line between field
member declarations. Also there should be a blank line added between
methods.

See this example:
https://www.pastiebin.com/pastie/diff/5f29ac2f02790/105840,105839
I want the left side to be formatted and than it should look like the right
side

Best regards,
Ahmet
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users