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: unassignedclangb...@nondot.org
          Reporter: richard.towns...@arm.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to