mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +00:00
Adapt llvmorg-14-init-13600-g92417eaf3329: braced constructor call
This commit is contained in:
parent
dce86b1362
commit
8422f0a522
@ -80,6 +80,10 @@ public:
|
|||||||
#if LLVM_VERSION_MAJOR >= 8
|
#if LLVM_VERSION_MAJOR >= 8
|
||||||
,
|
,
|
||||||
SourceLocation openParLoc
|
SourceLocation openParLoc
|
||||||
|
#endif
|
||||||
|
#if LLVM_VERSION_MAJOR >= 14
|
||||||
|
,
|
||||||
|
bool braced
|
||||||
#endif
|
#endif
|
||||||
) override {
|
) override {
|
||||||
ls_sighelp.activeParameter = (int)currentArg;
|
ls_sighelp.activeParameter = (int)currentArg;
|
||||||
@ -93,7 +97,11 @@ public:
|
|||||||
cand = OverloadCandidate(pattern);
|
cand = OverloadCandidate(pattern);
|
||||||
|
|
||||||
const auto *ccs =
|
const auto *ccs =
|
||||||
|
#if LLVM_VERSION_MAJOR >= 14
|
||||||
|
cand.CreateSignatureString(currentArg, s, *alloc, cCTUInfo, true, braced);
|
||||||
|
#else
|
||||||
cand.CreateSignatureString(currentArg, s, *alloc, cCTUInfo, true);
|
cand.CreateSignatureString(currentArg, s, *alloc, cCTUInfo, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *ret_type = nullptr;
|
const char *ret_type = nullptr;
|
||||||
SignatureInformation &ls_sig = ls_sighelp.signatures.emplace_back();
|
SignatureInformation &ls_sig = ls_sighelp.signatures.emplace_back();
|
||||||
|
Loading…
Reference in New Issue
Block a user