mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +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
|
||||
,
|
||||
SourceLocation openParLoc
|
||||
#endif
|
||||
#if LLVM_VERSION_MAJOR >= 14
|
||||
,
|
||||
bool braced
|
||||
#endif
|
||||
) override {
|
||||
ls_sighelp.activeParameter = (int)currentArg;
|
||||
@ -93,7 +97,11 @@ public:
|
||||
cand = OverloadCandidate(pattern);
|
||||
|
||||
const auto *ccs =
|
||||
#if LLVM_VERSION_MAJOR >= 14
|
||||
cand.CreateSignatureString(currentArg, s, *alloc, cCTUInfo, true, braced);
|
||||
#else
|
||||
cand.CreateSignatureString(currentArg, s, *alloc, cCTUInfo, true);
|
||||
#endif
|
||||
|
||||
const char *ret_type = nullptr;
|
||||
SignatureInformation &ls_sig = ls_sighelp.signatures.emplace_back();
|
||||
|
Loading…
Reference in New Issue
Block a user