mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 18:00:26 +00:00
fix clang_tu.h && clang_complete.cc (#61)
This commit is contained in:
parent
87c5491536
commit
74790e2421
@ -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 {
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
#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