hanchenye-llvm-project/clang/www
Richard Smith 990668b7d0 DR407: Rationalize how we handle tags being hidden by typedefs. Even with
DR407, the C++ standard doesn't really say how this should work. Here's what we
do (which is consistent with DR407 as far as I can tell):

 * When performing name lookup for an elaborated-type-specifier, a tag
   declaration hides a typedef declaration that names the same type.
 * When performing any other kind of lookup, a typedef declaration hides
   a tag declaration that names the same type.

In any other case where lookup finds both a typedef and a tag (that is, when
they name different types), the lookup will be ambiguous. If lookup finds a
tag and a typedef that name the same type, and finds anything else, the lookup
will always be ambiguous (even if the other entity would hide the tag, it does
not also hide the typedef).

llvm-svn: 252959
2015-11-12 22:04:34 +00:00
..
analyzer Create install targets for scan-build and scan-view 2015-11-09 16:12:56 +00:00
demo Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
OpenProjects.html
UniversalDriver.html
builtins.py
carbon-compile.png
clang_video-05-25-2007.html
clang_video-07-25-2007.html
comparison.html
compatibility.html
content.css
cxx_compatibility.html
cxx_dr_status.html DR407: Rationalize how we handle tags being hidden by typedefs. Even with 2015-11-12 22:04:34 +00:00
cxx_status.html N3922: direct-list-initialization of an auto-typed variable no longer deduces a 2015-11-11 01:36:17 +00:00
diagnostics.html
favicon.ico
feature-compile1.png
feature-compile2.png
feature-memory1.png
features.html
get_involved.html Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
get_started.html Mention that libcxx is required to build Compiler-RT tests on OS X. 2015-09-15 15:05:47 +00:00
hacking.html
index.html
libstdc++4.4-clang0x.patch
libstdc++4.6-clang11.patch
libstdc++4.7-clang11.patch
make_cxx_dr_status
menu.css
menu.html.incl Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
related.html Add a link to the DXR project 2015-10-29 17:20:17 +00:00
robots.txt