https://llvm.org/bugs/show_bug.cgi?id=24210
Bug ID: 24210 Summary: Well-formed program with typedef declaration with no declarators gives error message. Product: clang Version: trunk Hardware: All OS: All Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: anders.granlun...@gmail.com CC: dgre...@apple.com, llvmbugs@cs.uiuc.edu Classification: Unclassified The following program is well-formed: typedef class A; int main() {} When compiling with -w and -pedantic-errors, Clang incorrectly emits the following error message for it: error: typedef requires a name -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs