http://llvm.org/bugs/show_bug.cgi?id=15236
Bug ID: 15236
Summary: Replace Sema::DynamicClasses with something more
targeted
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
At the end of a TU, we iterate over Sema::DynamicClasses to find the classes
whose key function was defined in that TU. In the case of PCH/modules, this
deserializes the definitions of all dynamic classes in all modules included
into the TU. We could instead just keep a list of those classes whose key
functions have been defined -- we know whether a function is a key function at
its point of definition, since a function cannot become inline after its
definition.
Also, we should issue a warning if a key function is defined outside of the
main source file, or in a PCH or a module.
--
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