Re: [cfe-users] Matcher for templated variable

2021-08-17 Thread Jonas Toth via cfe-users
Hey Robert, I can highely recommend `godbolt.org`, it has support for clang-query as additional tool when you select clang as the compiler as well as AST output. Additionally: https://clang.llvm.org/docs/LibASTMatchersReference.html There you get all the possible matchers you can combine. You ca

Re: [cfe-users] clang 11rc1 - target aarch64 -mharden-sls warning

2020-08-03 Thread Jonas Toth via cfe-users
Hi Milan, just to be sure: Are you doing a multi-stage build? On which stage is the warning emitted? The architecture you are  building on itself is ARM or are you doing cross compilation? The argument itself is a compatibility-option for GCC, which might be added after clang-11 was branched? (h

Re: [cfe-users] Updated documentation on cross building LLVM for Musl

2019-02-13 Thread Jonas Toth via cfe-users
A patch for the LLVM documentation or at least a link in it to your gist would be great! Am 13.02.19 um 20:07 schrieb Croepha via cfe-users: > I spent some time figuring out how to get Clang and related tools to > build against musl starting from a GNU libc system.  The result is a > GNU-less (no

Re: [cfe-users] misc-new-delete-overloads

2018-12-28 Thread Jonas Toth via cfe-users
Hey Tom, thank you for reporting this issue! Tt looks like the check is confusing these overloads somehow. Looking through the code it could be, that the second version is considered as placement-overload which are ignored, but that is just a guess. Are you by any chance compiling with C++17? It

Re: [cfe-users] [run-clang-tidy] new replacement overlaps with an existing replacement

2018-12-13 Thread Jonas Toth via cfe-users
Great to hear! Am 12.12.18 um 00:11 schrieb Mateusz Loskot via cfe-users: >> I suspect that is the case indeed. >> >> I have created new test in GIL which generates single .cpp file >> that includes all headers (https://github.com/boostorg/gil/pull/184): >> I generated compile_commands.json and ma

[cfe-users] Fwd: floor is vectorized, but not sin, cos or exp

2018-12-11 Thread Jonas Toth via cfe-users
I am forwarding this to cfe-dev as it might this sounds like a bug and cfe-users is not read that much. Weitergeleitete Nachricht Betreff:[cfe-users] floor is vectorized, but not sin, cos or exp Datum: Tue, 11 Dec 2018 16:47:16 +0100 Von:Klaus Leppkes via cfe-users

Re: [cfe-users] [run-clang-tidy] new replacement overlaps with an existing replacement

2018-12-10 Thread Jonas Toth via cfe-users
Hi Mateusz, comments inline. Am 10.12.18 um 22:14 schrieb Mateusz Loskot via cfe-users: > Hi, > > I'm running clang-tidy 7.0 (also tried 5.0) to modernise some aspects > of Boost.GIL (https://github.com/boostorg/gil) source code. > > I've noticed, clang-tidy 7.0 (also 5.0) does not apply fixes fo

Re: [cfe-users] My compiler crashes .... but the online godbolt one doesn't ?!

2018-12-10 Thread Jonas Toth via cfe-users
The snippet you show is already quite minimal, so its ok to file another bug specifically for that one. Am 10.12.18 um 19:17 schrieb David Blaikie via cfe-users: > Possible that the online one isn't built with assertions enabled (you > could test this with other known crashers to see if they repro

Re: [cfe-users] build errors with MinGW-W64 GCC-8.1.0 on Windows

2018-11-12 Thread Jonas Toth via cfe-users
Hi Maarten, I am not a windows user and never build with mingw in my life. :) Did you try out building a release-version of LLVM first? Sometimes there are breaking changes committed that e.g. linux-users will not notice on their system. Our Buildbots have to catch up first before the issue is th

Re: [cfe-users] False positive -Wcomma with static_cast of dependent expression

2018-10-19 Thread Jonas Toth via cfe-users
Please open a bug report instead. Best Jonas Am 19.10.2018 um 00:39 schrieb Mat Sutcliffe via cfe-users: > Hello list, > > The following code generates one false positive of the -Wcomma > warning: (tested with clang trunk via Matt Godbolt's Compiler > Explorer) > > template > void foo() > { >

Re: [cfe-users] Backend error

2018-08-22 Thread Jonas Toth via cfe-users
Could you please report this as a bug at https://bugs.llvm.org/describecomponents.cgi?product=clang Best, Jonas Am 21.08.2018 um 08:01 schrieb Itaru Kitayama via cfe-users: > Hi, > I am seeing a application build error shown below: > > [  7%] Building CXX object sli/CMakeFiles/sli_lib.dir/filesy

Re: [cfe-users] Question casually profiling Clang vs GCC

2018-08-01 Thread Jonas Toth via cfe-users
Hi, very interesting. My experience with normal compilation is, that clang is faster. Could it be, that there are some precompiled headers or similar present on the system, that GCC utilizes? Best Regards, Jonas Am 01.08.2018 um 13:23 schrieb Florian Berger via cfe-users: > Hi, > > I am a long

Re: [cfe-users] clang-tidy selects toolchain?

2018-06-20 Thread Jonas Toth via cfe-users
I dont think so. What do you want to achieve? Clang-tidy will just build the AST from Code and do its analysis on it. I do not see a reason for a different toolchain. Am 19.06.2018 um 11:30 schrieb kimmyzhang(张亚霏) via cfe-users: > > As is known, clang can select another toolchain through: > > cla

Re: [cfe-users] add method to a existing class and save to source file

2018-05-04 Thread Jonas Toth via cfe-users
This is a question relating clang-refactor i guess. Maybe ask on cfe-dev since its development specific. Am 05.05.2018 um 02:22 schrieb ? ?? via cfe-users: > Dear Clang users:       >       I have a class named  classA  in a.h and a.cpp file. it have > some methods, I want to add a new method def

[cfe-users] Fwd: 回复: [cfe-dev] building clang for target off

2018-05-03 Thread Jonas Toth via cfe-users
Forwarding, because the guy didnt include the mailing lists in the response. Weitergeleitete Nachricht Betreff:?? [cfe-dev] [cfe-users] building clang for target off Datum: Wed, 2 May 2018 20:32:26 +0800 Von: <772847...@qq.com> An: cfe-dev you may n

Re: [cfe-users] building clang for target off

2018-05-02 Thread Jonas Toth via cfe-users
+cfe-dev Am 30.04.2018 um 06:41 schrieb Jost, Gabriele (ARC-TNC)[CSRA, LLC] via cfe-users: > Hello, > I am trying to build clang with GPU support, in particular with > support for OpenMP target offload. > I want to build for a Xeon+Nvidia GPU. > I did this: > git clone https://github.com/clang-yk

Re: [cfe-users] C++ Scoring Tool

2018-04-17 Thread Jonas Toth via cfe-users
+cfe-dev The people familiar with clang-format are more likely active there :) Am 17.04.2018 um 09:40 schrieb Daniel via cfe-users: > > Hello,  > > For the senior project in my undergraduate studies, my team and I are > developing a tool that will evaluate the format and code conventions > of a

Re: [cfe-users] Why does this testcase fail in clang-60?

2018-03-27 Thread Jonas Toth via cfe-users
I believe the default standard did change to c++14. How did you compile? Could you make a case in godbolt.org? Am 27.03.2018 um 04:52 schrieb Yuri via cfe-users: > This testcase: > > # include > # include > > # define _I ((complex_t)(1i)) > typedef std::complex complex_t; > > complex_t f(const