[llvm-bugs] [Bug 41232] New: inconsistent-missing-override diagnostic should not fire on __interface members

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 26 01:32:52 PDT 2019


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

            Bug ID: 41232
           Summary: inconsistent-missing-override diagnostic should not
                    fire on __interface members
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: igor.akhmetov at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Override should not be required on an __interface member, since all the
functions are implicitly pure anyway:

__interface BaseInterface {
    auto foo() -> void;
};

__interface DerivedInterface : BaseInterface {
    auto foo() -> void;  // inconsistent-missing-override
};

-- 
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/20190326/c4b3153e/attachment-0001.html>


More information about the llvm-bugs mailing list