mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 00:55:08 +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,
|
Preamble->Preamble.OverridePreamble(*CI, session.FS,
|
||||||
Bufs.back().get());
|
Bufs.back().get());
|
||||||
#else
|
#else
|
||||||
Preamble->Preamble.AddImplicitPreamble(*CI, session->FS,
|
Preamble->Preamble.AddImplicitPreamble(*CI, session.FS,
|
||||||
Bufs.back().get());
|
Bufs.back().get());
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "position.h"
|
#include "position.h"
|
||||||
|
|
||||||
|
#include <clang/Basic/LangOptions.h>
|
||||||
#include <clang/Basic/SourceManager.h>
|
#include <clang/Basic/SourceManager.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user