Re: [Mesa-dev] [PATCH] dir-locals.el: use appropriate c-file-style

2017-03-06 Thread Damien Grassart
On Mon, Mar 6, 2017 at 7:44 PM, Ilia Mirkin wrote: > What's the difference between c-file-style linux and stroustrup? The main differences are that stroustrup sets c-basic-offset to 4 while linux uses 8 and linux defines braces around "else" on single line, i.e.: "} else {". Even if these get tw

Re: [Mesa-dev] [PATCH] dir-locals.el: use appropriate c-file-style

2017-03-06 Thread Ilia Mirkin
What's the difference between c-file-style linux and stroustrup? On Mon, Mar 6, 2017 at 1:43 PM, Damien Grassart wrote: > Add .dir-locals.el and .editorconfig files in src/amd/vulkan and > src/amd/common since they don't use the coding style defined in the > root .dir-locals.el. Also update the s

[Mesa-dev] [PATCH] dir-locals.el: use appropriate c-file-style

2017-03-06 Thread Damien Grassart
Add .dir-locals.el and .editorconfig files in src/amd/vulkan and src/amd/common since they don't use the coding style defined in the root .dir-locals.el. Also update the styles for other directories that appear to use the Linux kernel style. Signed-off-by: Damien Grassart --- src/amd/common/.dir