[llvm-bugs] [Bug 42059] New: "member access into incomplete type" after r361670

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 07:04:54 PDT 2019


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

            Bug ID: 42059
           Summary: "member access into incomplete type" after r361670
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Richard.Townsend at arm.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

When running the attached reproducer (from Chromium) clang currently fails with
an "access into incomplete type" message:

../../base/memory/scoped_refptr.h:291:6: error: member access into incomplete
type 'const blink::SecurityOrigin'
  ptr->AddRef();
     ^
../../base/memory/scoped_refptr.h:177:7: note: in instantiation of member
function 'scoped_refptr<const blink::SecurityOrigin>::AddRef' requested here
      AddRef(ptr_);
      ^
../../third_party/blink/renderer/platform/bindings/dom_wrapper_world.h:50:7:
note: forward declaration of 'blink::SecurityOrigin'
class SecurityOrigin;
      ^
1 error generated.

Bisection indicates that SVN ID 361670 (git:
https://github.com/llvm/llvm-project/commit/de47d66191e50e8a741ed551c25d60bbf86da5e4)
is the first bad commit.

-- 
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/20190529/5c047c5e/attachment.html>


More information about the llvm-bugs mailing list