mirror of
https://github.com/MaskRay/ccls.git
synced 2024-12-01 20:07:08 +00:00
Better heuristics, noexcept specifier and C11 _Atomic specifier
This commit is contained in:
parent
156d4891c3
commit
646d154b9b
@ -1215,8 +1215,12 @@ void OnIndexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
|||||||
!type_desc.compare(offset - 5, 5, "throw")) ||
|
!type_desc.compare(offset - 5, 5, "throw")) ||
|
||||||
(offset >= 6 &&
|
(offset >= 6 &&
|
||||||
!type_desc.compare(offset - 6, 6, "typeof")) ||
|
!type_desc.compare(offset - 6, 6, "typeof")) ||
|
||||||
|
(offset >= 7 &&
|
||||||
|
!type_desc.compare(offset - 7, 7, "_Atomic")) ||
|
||||||
(offset >= 8 &&
|
(offset >= 8 &&
|
||||||
!type_desc.compare(offset - 8, 8, "decltype")) ||
|
!type_desc.compare(offset - 8, 8, "decltype")) ||
|
||||||
|
(offset >= 8 &&
|
||||||
|
!type_desc.compare(offset - 8, 8, "noexcept")) ||
|
||||||
(offset >= 13 &&
|
(offset >= 13 &&
|
||||||
!type_desc.compare(offset - 13, 13, "__attribute__"))))
|
!type_desc.compare(offset - 13, 13, "__attribute__"))))
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user