ef8225444452a1486bd721f3285301fe84643b00 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
8690cee218a59d3f6eaca17b9c25d03a52ebacaa |
|
15-Oct-2013 |
Reid Kleckner <reid@kleckner.net> |
ms-compat: Fix taking the address of a member of a dependent base If unqualified id lookup fails while parsing a class template with a dependent base, clang with -fms-compatibility will pretend the user prefixed the name with 'this->' in order to delay the lookup. However, if there was a unary ampersand, Sema::ActOnDependentIdExpression() will create a DependentDeclRefExpr, which is not what we wanted at all. Fix this by building the CXXDependentScopeMemberExpr directly instead. In order to be fully MSVC compatible, we would have to defer all attempts at name lookup to instantiation time. However, until we have real problems with system headers that can't be parsed, we'll put off implementing that. Fixes PR16014. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D1892 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
97aea95f46f27ff0927faa72baa7fe2b0bce1d2d |
|
29-Apr-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix an assertion failure / accepts-invalid in -fms-extensions mode. Don't build a dependent-scope id expression when a templated member function of a non-templated class references an unknown identifier, since instantiation won't rebuild it (and we can tell at parse time that it'll never work). Based on a patch by Faisal Vali! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
4b554f4756cefdce6e0109e96d2f13d594b30b8c |
|
20-Jun-2012 |
Nico Weber <nicolasweber@gmx.de> |
Allow unqualified lookup of non-dependent member functions in microsoft mode. Fixes PR12701. The code for this was already in 2 of the 3 branches of a conditional and missing in the 3rd branch, so lift it above the conditional. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
4d604d6f1d413864e7dad8e368ba9a69a3f478c7 |
|
03-Dec-2011 |
Francois Pichet <pichet2000@gmail.com> |
In Microsoft mode, don't perform typo correction in a template member function dependent context because it interferes with the "lookup into dependent bases of class templates" feature. Basically typo correction will try to offer a correction instead of looking into type dependent base classes. I found this problem while parsing Microsoft ATL code with clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
c8ff915c4bafe520548cc29d342951da23591ae1 |
|
25-Nov-2011 |
Francois Pichet <pichet2000@gmail.com> |
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside a friend function definition at class scope. Basically we have to look into the parent *lexical* DeclContext for friend functions at class scope. That's because calling GetParent() return the namespace or file DeclContext. This fixes all remaining cases of "Unqualified lookup into dependent bases of class templates" when parsing MFC code with clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
e6226ae490903717c8c07782f28bc8349543021f |
|
17-Nov-2011 |
Francois Pichet <pichet2000@gmail.com> |
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside default argument instantiation. This is a little bit tricky because during default argument instantiation the CurContext points to a CXXMethodDecl but we can't use the keyword this or have an implicit member call generated. This fixes 2 errors when parsing MFC code with clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
e614d6c6b12f20f0072c20eb312db2e80d1cb051 |
|
16-Nov-2011 |
Francois Pichet <pichet2000@gmail.com> |
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside static functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144729 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
ef04ecf96d83cd3cbc7bf8cf36d4c7873964194e |
|
11-Nov-2011 |
Francois Pichet <pichet2000@gmail.com> |
Move "Unqualified lookup into dependent bases of class templates" Microsoft specific behavior from -fms-extensions to -fms-compatibility. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|
0f74d1e441fdf2229118b7ca5c88db29d5e8f44f |
|
07-Sep-2011 |
Francois Pichet <pichet2000@gmail.com> |
In Microsoft mode, if we are inside a template class member function and we can't resolve a function call then create a type-dependent CallExpr even if the function has no type dependent arguments. The goal is to postpone name lookup to instantiation time to be able to search into type dependent base classes. With this patch in, clang will generate only 37 errors (down from 212) when parsing a typical MFC source file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
|