https://bugs.llvm.org/show_bug.cgi?id=39705

            Bug ID: 39705
           Summary: Multiline doc comments in enums are copied to
                    following variants
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangb...@nondot.org
          Reporter: emi...@crisal.io
                CC: kli...@google.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

For the following file:

enum Test {
  /**
   * hello world
   */
  A,
  B,

  C,
}

All the cursors for the enum variants have the same doc comment, which seems
wrong.

This causes https://github.com/rust-lang-nursery/rust-bindgen/issues/1442.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to