mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 18:41:57 +00:00
fix clang_tu.h && clang_complete.cc (#61)
This commit is contained in:
parent
fea457616a
commit
ea28e50d0f
@ -503,7 +503,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 {
|
||||
|
@ -4,6 +4,7 @@
|
||||
#pragma once
|
||||
#include "position.h"
|
||||
|
||||
#include <clang/Basic/LangOptions.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user