[llvm-bugs] [Bug 39705] New: Multiline doc comments in enums are copied to following variants
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Nov 19 01:34:49 PST 2018
    
    
  
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: unassignedclangbugs at nondot.org
          Reporter: emilio at crisal.io
                CC: klimek at google.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181119/f6ece428/attachment.html>
    
    
More information about the llvm-bugs
mailing list