diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-09 16:55:27 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-09 16:55:27 +0000 |
| commit | b60fae50d38a0291e1c5731b2fb22849d26ca342 (patch) | |
| tree | bfe2ef357952094c88f5c93741b40037593114d8 /lib/CodeGen/CGExpr.cpp | |
| parent | 8495379bd6127dac2c39a6dd7840d95bb3a9aaa3 (diff) | |
| download | clang-b60fae50d38a0291e1c5731b2fb22849d26ca342.tar.gz clang-b60fae50d38a0291e1c5731b2fb22849d26ca342.tar.bz2 clang-b60fae50d38a0291e1c5731b2fb22849d26ca342.tar.xz | |
C++ modules: if a class is defined in multiple modules (for instance, because
it is an implicit instantiation of a class template specialization), pick the
first-loaded definition to be the canonical definition, and merge all other
definitions into it.
This is still rather incomplete -- we need to extend every form of declaration
that can appear within a CXXRecordDecl to be redeclarable if it came from an
AST file (this includes fields, enumerators, ...).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
