https://bugs.llvm.org/show_bug.cgi?id=41649
Bug ID: 41649
Summary: AnnotateTokensWorker::HandlePostPonedChildCursor -
duplicate flags
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: libclang
Assignee: unassignedclangb...@nondot.org
Reporter: llvm-...@redking.me.uk
CC: ivan.donchevs...@qt.io, kli...@google.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
As noted in "Snippet No. 2" https://www.viva64.com/en/b/0629/
enum CXNameRefFlags {
CXNameRange_WantQualifier = 0x1,
CXNameRange_WantTemplateArgs = 0x2,
CXNameRange_WantSinglePiece = 0x4
};
void AnnotateTokensWorker::HandlePostPonedChildCursor(
CXCursor Cursor, unsigned StartTokenIndex) {
const auto flags = CXNameRange_WantQualifier | CXNameRange_WantQualifier;
....
}
This was introduced in rL340521 by @yvvan
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs