[LLVMbugs] [Bug 15236] New: Replace Sema::DynamicClasses with something more targeted
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 11 14:26:37 PST 2013
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: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130211/49e3cf7d/attachment.html>
More information about the llvm-bugs
mailing list