It's an attempt to fix three problems with the current ycm_extra_conf file. The current implementation assumes that it's a symlink, which is not true. Usually python creates a pyc file, and this is what you get in __file__. the .pyc is not a symlink, and the current implementation doesn't work if that's the case. It also assumes that the user is in the root folder. If the user is in WebkitBuild/Debug and open a file as ../../Source/* it won't work. Last but not least, "elif flag in FLAGS_PRECEDING_PATHS" emits an exception since "flag" doesn't exists. All those things were fixed and the current implementation works with the latest YouCompleteMe plugin.
Created attachment 220201 [details] Patch
Comment on attachment 220201 [details] Patch asking cq
Created attachment 220203 [details] Patch
Comment on attachment 220203 [details] Patch small fix to select the correct line inside the ycm-make-trace
Comment on attachment 220203 [details] Patch Clearing flags on attachment: 220203 Committed r161243: <http://trac.webkit.org/changeset/161243>
All reviewed patches have been landed. Closing bug.