mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-13 03:32:14 +00:00
fix clang_th.h && clang_complete.cc
This commit is contained in:
parent
731a9092e8
commit
ab3b0a7915
@ -515,7 +515,7 @@ BuildCompilerInstance(CompletionSession &session,
|
||||
Preamble->Preamble.OverridePreamble(*CI, session.FS,
|
||||
Bufs.back().get());
|
||||
#else
|
||||
Preamble->Preamble.AddImplicitPreamble(*CI, session->FS,
|
||||
Preamble->Preamble.AddImplicitPreamble(*CI, session.FS,
|
||||
Bufs.back().get());
|
||||
#endif
|
||||
} else {
|
||||
|
@ -17,6 +17,7 @@ limitations under the License.
|
||||
#include "position.h"
|
||||
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
#include <clang/Basic/LangOptions.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user