MaskRay / ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Apache License 2.0
3.73k stars 255 forks source link

Enforce the clang option working-directory during parsing #866

Open tcwz opened 2 years ago

tcwz commented 2 years ago

In clang CL mode, it ignores working-directory option, so the relative include search path will be mistake. Hard code adds this option before "CompilerInvocation:: CreateFromArgs".

tcwz commented 2 years ago

@MaskRay