History log of /external/clang/test/SemaCXX/using-directive.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a84a8537fe56300cc3b9a9edb2244518c587cab0 10-Nov-2010 John McCall <rjmccall@apple.com> Diagnose attempst to template using declarations and using directives.
Recover from the latter and fail early for the former. Fixes PR8022.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
6c80d32157032a7f66dc587e74ae36ac11d7f5b4 29-Jun-2010 Douglas Gregor <doug.gregor@gmail.com> Allow a using directive to refer to the implicitly-defined namespace
"std", with a warning, to improve GCC compatibility. Fixes PR7517.

As a drive-by, add typo correction for using directives.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
3573b2c84372d9484296fa658f5276f6c09acb92 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
2539385eb3e538c81831f6ed136091f68e989574 08-Dec-2009 Douglas Gregor <doug.gregor@gmail.com> When performing unqualified name lookup in C++, don't look directly
into transparent contexts; instead, we'll look into their nearest
enclosing non-transparent contexts further up the stack. Fixes PR5479.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
b4a0a8293aff2c6160e11edb51d8715a670248c6 23-Nov-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Let using directives refer to namespace aliases. Fixes PR5479.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
4f5fdef63912c84b365d00f916c542a252ff450b 19-Nov-2009 John McCall <rjmccall@apple.com> Resolve this FIXME: unelaborated lookups are ambiguous, too.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
1c23b3ff07ff44e67f0bbc0cc55e2268da57912f 18-Nov-2009 John McCall <rjmccall@apple.com> Overhaul previous-declaration and overload checking to work on lookup results
rather than NamedDecl*. This is a major step towards eliminating
OverloadedFunctionDecl.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
683a1144296b0d866dea5b8bee2c2948ad0b6312 20-Jun-2009 Douglas Gregor <doug.gregor@gmail.com> Parsing and AST support for using declarations, from John Thompson!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
449808bbe9054c6be74400418b6b93901753a827 13-Apr-2009 Douglas Gregor <doug.gregor@gmail.com> Make the selection of type declarations in Sema::getTypeName
deterministic when faced with an ambiguity. This eliminates the
annoying test/SemaCXX/using-directive.cpp failure.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
caf2bc13de5e81f4b3335bd02a45e42ea01fc1aa 07-Apr-2009 Douglas Gregor <doug.gregor@gmail.com> XFAIL a failing test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
d7cb037d4b143f66083a4bca56b8b9e51606f9f0 01-Apr-2009 Douglas Gregor <doug.gregor@gmail.com> Make parsing a semantic analysis a little more robust following Sema
failures that involve malformed types, e.g., "typename X::foo" where
"foo" isn't a type, or "std::vector<void>" that doens't instantiate
properly.

Similarly, be a bit smarter in our handling of ambiguities that occur
in Sema::getTypeName, to eliminate duplicate error messages about
ambiguous name lookup.

This eliminates two XFAILs in test/SemaCXX, one of which was crying
out to us, trying to tell us that we were producing repeated error
messages.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
ffd408a50adb01ae9c0ad92fb5f0981e1ca72df5 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
cd8e6183827fb96688da73f91adb66191243d9b1 08-Feb-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Make the test cases failing due to exact diagnostic matching XFAIL.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
b96b92d2b8965ff7078ad9a2823d27f1411fb559 05-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> Improvements and fixes for name lookup with using directives, from Piotr Rak!

Also, put Objective-C protocols into their own identifier
namespace. Otherwise, we find protocols when we don't want to in C++
(but not in C).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63877 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
d5b2f5d03934999a1cd33c7fc76a3cc9834f993b 03-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> Remove a fixed FIXME

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
362c8955c74cd6f9e24026403624afbe7fcdf029 03-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> When looking for a tag name via unqualified name lookup, only look in
scopes where the name would be considered a redeclaration if we know
that we're declaring or defining that tag.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp
7a7be65a7801addae8205fd68323cecd70df1635 03-Feb-2009 Douglas Gregor <doug.gregor@gmail.com> Semantic analysis, ASTs, and unqualified name lookup support for C++
using directives, from Piotr Rak!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/using-directive.cpp