summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Generalize the workaround for multiple ambiguous definitions ofRichard Smith2015-11-042-0/+2
| | | | | | | | | | | | | internal linkage entities in different modules from r250884 to apply to all names, not just function names. This is really awkward: we don't want to merge internal-linkage symbols from separate modules, because they might not actually be defining the same entity. But we don't want to reject programs that use such an ambiguous symbol if those internal-linkage symbols are in fact equivalent. For now, we're resolving the ambiguity by picking one of the equivalent definitions as an extension. llvm-svn: 252063
* [modules] libstdc++ defines some static inline functions in its internalRichard Smith2015-10-215-0/+21
headers. If those headers end up being textually included twice into the same module, we get ambiguity errors. Work around this by downgrading the ambiguity error to a warning if multiple identical internal-linkage functions appear in an overload set, and just pick one of those functions as the lookup result. llvm-svn: 250884
OpenPOWER on IntegriCloud