Re: [webkit-dev] Using compile_command.json in sources that go into Unified Sources

2018-04-09 Thread Sergio Villar Senin
O Lun, 26-03-2018 ás 14:30 +0100, Adrian Perez de Castro escribiu: > > I *think* that many tools like scan-build should work equally well > regardless > of whether the compilation database contains the unifies or the > individual > sources. But of course it's difficult to predict what every other

Re: [webkit-dev] Using compile_command.json in sources that go into Unified Sources

2018-03-26 Thread Konstantin Tokarev
26.03.2018, 16:31, "Adrian Perez de Castro" : > On Mon, 26 Mar 2018 07:54:38 -0500, Michael Catanzaro > wrote: >>  On Sat, Mar 24, 2018 at 6:03 PM, Cadu Bentzen >>  wrote: >>  > I included calling this script at the end of the

Re: [webkit-dev] Using compile_command.json in sources that go into Unified Sources

2018-03-26 Thread Adrian Perez de Castro
On Mon, 26 Mar 2018 07:54:38 -0500, Michael Catanzaro wrote: > On Sat, Mar 24, 2018 at 6:03 PM, Cadu Bentzen > wrote: > > I included calling this script at the end of the build-webkit (under > > a command line option) script. So far it has work

Re: [webkit-dev] Using compile_command.json in sources that go into Unified Sources

2018-03-26 Thread Michael Catanzaro
On Sat, Mar 24, 2018 at 6:03 PM, Cadu Bentzen wrote: I included calling this script at the end of the build-webkit (under a command line option) script. So far it has work for me, but I wonder if this is the right approach or if you already solved that in another way.

[webkit-dev] Using compile_command.json in sources that go into Unified Sources

2018-03-24 Thread Cadu Bentzen
Hi WebKit developers, Recently I started coding in WebKitGTK+ on Linux and I realized that source files that are batch-compiled in UnifiedSources don't get an entry in compile_commands.json, making it difficult to get flags for autocompletion, "go-to definition" and conditional highlighting