aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/using-decl.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-11-12Revert r240335.Richard Smith1-2/+0
This failed to solve the problem it was aimed at, and introduced just as many issues as it resolved. Realistically, we need to deal with the possibility that multiple modules might define different internal linkage symbols with the same name, and this isn't a problem unless two such symbols are simultaneously visible. The case where two modules define equivalent internal linkage symbols is handled by r252063: if lookup finds multiple sufficiently-similar entities from different modules, we just pick one of them as an extension (but we keep them separate). llvm-svn: 252957
2015-09-15[modules] Make sure we make hidden UsingShadowDecls visible to redeclarationRichard Smith1-0/+6
lookup for the UsingShadowDecls themselves. llvm-svn: 247714
2015-09-15[modules] A using-declaration doesn't introduce a new entity, just a new nameRichard Smith1-2/+74
for an existing entity, and as such a using-declaration doesn't need to conflict with a hidden entity (nor vice versa). llvm-svn: 247654
2015-06-16[modules] Simplify -cc1 interface for enabling implicit module maps.Richard Smith1-1/+1
We used to have a flag to enable module maps, and two more flags to enable implicit module maps. This is all redundant; we don't need any flag for enabling module maps in the abstract, and we don't usually have -fno- flags for -cc1. We now have just a single flag, -fimplicit-module-maps, that enables implicitly searching the file system for module map files and loading them. The driver interface is unchanged for now. We should probably rename -fmodule-maps to -fimplicit-module-maps at some point. llvm-svn: 239789
2013-10-23Make UsingShadowDecls redeclarable. This fixes some visibility problems withRichard Smith1-0/+8
modules. With this fixed, I no longer see any test regressions in the libc++ test suite when enabling a single-module module.map for libc++ (other than issues with my system headers). llvm-svn: 193219