[llvm-bugs] [Bug 41649] New: AnnotateTokensWorker::HandlePostPonedChildCursor - duplicate flags

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 29 08:57:42 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: ivan.donchevskii at qt.io, klimek at google.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190429/e90b7691/attachment.html>


More information about the llvm-bugs mailing list