Re: [cfe-users] Compiling on network share using relative paths fails

2020-09-10 Thread Jan Korous via cfe-users
Can you please paste the error message (or the full output) here? You could try to use some strace-like tool to see what files is clang trying to open. I'm not familiar with Windows but maybe you could use this: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/logger-and-logview

Re: [cfe-users] Get AST of uncomplete C++ code

2020-04-24 Thread Jan Korous via cfe-users
> On Apr 24, 2020, at 2:44 PM, Richard Smith via cfe-users > wrote: > > On Tue, 21 Apr 2020 at 05:41, Dr S3curity via cfe-users > mailto:cfe-users@lists.llvm.org>> wrote: > Hi, > > Imagine the very basic code below, it has some missing elements, we dont have > the foo() function and MyClass

Re: [cfe-users] Looking for specific revision

2020-03-06 Thread Jan Korous via cfe-users
Hi Mahmood, The llvm project moved to git monorepo since version 3.9. You can get it here: > git clone https://github.com/llvm/llvm-project.git And this seems like the commit/revision you are looking for: > git log --grep "301135" commit b7b081262aefc72156f8ef885f30b73132726736 Author: Xin Ton

Re: [cfe-users] PostgreSQL 12 build issues on Solaris 11.4

2019-10-07 Thread Jan Korous via cfe-users
+CC Kamil who might know the answer. Hi Eric, > On Oct 7, 2019, at 12:49 AM, Dechaux Eric CEN (BCQ STIG) via cfe-users > wrote: > > Hello, > > With the official llvm/clang release for Solaris 11.4 I tried to build > PostgreSQL 12 with JIT enabled. JIT uses LLVM. However, the build fails with

Re: [cfe-users] problem with `candidate template ignored: invalid explicitly-specified argument'

2018-11-07 Thread Jan Korous via cfe-users
> On Nov 7, 2018, at 7:03 PM, Werner LEMBERG via cfe-users > wrote: > > >> The rule for determining when a base class function declaration >> introduced by a using-declaration is hidden by a derived class >> function declaration does not take the template parameter list into >> account: http:/

Re: [cfe-users] problem with `candidate template ignored: invalid explicitly-specified argument'

2018-11-05 Thread Jan Korous via cfe-users
I minimized the reproducer. Seems like base class template methods are not included in derived object method name resolution. Knowing whether it violates the standard or not is beyond my knowledge though. type params https://godbolt.org/z/WpET78 nontype params https://godbolt.org/z/PZIaDn Jan

Re: [cfe-users] Boost.GIL test failing with clang 5.x while pass with 15 gcc/clang versions

2018-05-21 Thread Jan Korous via cfe-users
Hi Mateusz, You are hitting UB because of signed integer overflow. ISO/IEC 14882:2011 clause 5 paragraph 4 and ISO/IEC 14882:2017 clause 8 paragraph 4 “If during the evaluation of an expression, the result is not mathematically defined or not in the range of representable values for its type,

Re: [cfe-users] HELP!The clang crashed and I don't know why

2018-01-15 Thread Jan Korous via cfe-users
Hi. Could you please look for the preprocessed source and associated run script? I am not sure about clang 3.7 but newer versions tell you where to look for these. E. g.: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cl

Re: [cfe-users] clang frontend command failed due to signal

2018-01-08 Thread Jan Korous via cfe-users
Hi bruce, which version of clang are you actually using? Could you please paste output of clang -v here? Could you please also paste full output of clang (including reproducer files if any)? Thank you. Jan > On 8 Jan 2018, at 10:36, 01_Tyro_10 via cfe-users > wrote: > > bruce ___