http://llvm.org/bugs/show_bug.cgi?id=20628
Bug ID: 20628
Summary: virt-specifiers are allowed in friend declarations
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Simple test snippets:
struct X {friend void f() final;};
struct X {friend void f() override;};
Tested with clang 3.5, -Wall -std=c++1y -stdlib=libc++ -pedantic-errors -ftrapv
-Wfatal-errors -Wall -Wextra -Wno-empty-body -Wno-missing-field-initializers
-Wwrite-strings -Wno-deprecated -Wno-unused -Wno-non-virtual-dtor
-Wno-variadic-macros -Wno-mismatched-tags -Wno-unused-parameter
No diagnostic is issued.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs