https://llvm.org/bugs/show_bug.cgi?id=31220
Bug ID: 31220 Summary: broken -Wweak-vtables for clang-cl Product: clang Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: lec...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified clang-cl -v clang version 4.0.0 (trunk) Target: i686-pc-windows-msvc Thread model: posix Using the following cpp files as a test file : https://github.com/Microsoft/clang/blob/master/test/SemaCXX/warn-weak-vtables.cpp I Get the following output: warn-weak-vtables.cpp(34,7): warning: 'Parent' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Wweak-vtables] class Parent { (It prints the warning for 'A','Parent','Derived' ...) As I understand it, it shouldn't happen (Parent has an out-of-line virtual destructor, Derived has getFoo that is out-of-line...) -- 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