- Apr 27, 2012
-
-
Richard Smith authored
We do not support IRGen for these, and get some parts of the semantic analysis wrong. llvm-svn: 155728
-
Kaelyn Uhrain authored
llvm-svn: 155723
-
Kaelyn Uhrain authored
to a given type, when the reason is that there is a non-type decl with the same name. llvm-svn: 155677
-
Eli Friedman authored
llvm-svn: 155670
-
- Apr 26, 2012
-
-
Richard Smith authored
itself a SFINAE context. llvm-svn: 155621
-
Richard Smith authored
arguments, and 'this' in exception-specifications. llvm-svn: 155606
-
Rafael Espindola authored
struct __attribute__((visibility("hidden"))) a; struct __attribute__((visibility("default"))) b; which gcc already rejects. llvm-svn: 155603
-
Richard Smith authored
explaining that. llvm-svn: 155598
-
- Apr 25, 2012
-
-
Kaelyn Uhrain authored
This is mainly for attempting to recover in cases where a class provides a custom operator-> and a '.' was accidentally used instead of '->' when accessing a member of the object returned by the current object's operator->. llvm-svn: 155580
-
Argyrios Kyrtzidis authored
of the template what we are going to instantiate. Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421. llvm-svn: 155576
-
Richard Smith authored
Don't try to query whether an incomplete type has a trivial copy constructor when determining whether a move constructor should be declared. llvm-svn: 155575
-
- Apr 24, 2012
-
-
Richard Smith authored
exception specification to a function. llvm-svn: 155424
-
- Apr 23, 2012
-
-
Fariborz Jahanian authored
location. // rdar://10893232 llvm-svn: 155385
-
DeLesley Hutchins authored
on smart pointers. Also adds test case for previous commit. llvm-svn: 155379
-
DeLesley Hutchins authored
existentially quantified lock expressions. llvm-svn: 155357
-
Douglas Gregor authored
<rdar://problem/11284902>. llvm-svn: 155356
-
- Apr 22, 2012
-
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 155324
-
Richard Smith authored
pretend there was no previous declaration -- that can lead us to injecting a class template (with no access specifier) into a class scope. Instead, just avoid the problematic checks. llvm-svn: 155303
-
- Apr 21, 2012
-
-
Richard Smith authored
exception specifications in C++11 until after we've parsed the exception specifications for nested classes. llvm-svn: 155293
-
Fariborz Jahanian authored
llvm-svn: 155290
-
Nuno Lopes authored
llvm-svn: 155282
-
NAKAMURA Takumi authored
llvm-svn: 155279
-
Matt Beaumont-Gay authored
llvm-svn: 155274
-
Richard Smith authored
declaration of the same name. r155187 caused us to miss this if the prior declaration did not declare a type. llvm-svn: 155269
-
Matt Beaumont-Gay authored
Set the source location for the "member reference base type ... is not a structure or union" diag to point at the operator rather than the member name. If we're giving this diagnostic because of a typo'd '.' in place of a ';' at the end of a line, the caret previously pointed at the identifier on the following line, which isn't as helpful as it could be. Pointing the caret at the '.' makes it more obvious what the problem is. llvm-svn: 155267
-
Fariborz Jahanian authored
objc_returns_inner_pointer attribute can be applied to methods only. Diagnsose otherwise, instead of crashing. // rdar://11253688 llvm-svn: 155245
-
- Apr 20, 2012
-
-
Richard Smith authored
non-const reference parameter type if the class had any subobjects with deleted copy constructors. This causes a rejects-valid if the class's copy constructor is explicitly defaulted (as happens for some implementations of std::pair etc). llvm-svn: 155218
-
Richard Smith authored
up an elaborated type specifier in a friend declaration, only look for type declarations, per [basic.lookup.elab]p2. If we know that the redeclaration lookup for a friend class template in a dependent context finds a non-template, don't delay the diagnostic to instantiation time. llvm-svn: 155187
-
Richard Smith authored
llvm-svn: 155185
-
Fariborz Jahanian authored
is issued on weak property as receiver and not on any other use of a weak property. // rdar://10225276 llvm-svn: 155169
-
- Apr 19, 2012
-
-
Fariborz Jahanian authored
if receiver is a 'weak' property, by type or by attribute. // rdar://10225276 llvm-svn: 155159
-
DeLesley Hutchins authored
which are checked in the parser, and analysis warnings that require the full analysis. This allows attribute syntax to be checked independently of the full thread safety analysis. Also introduces a new warning for the case where a string is used as a lock expression; this allows the analysis to gracefully handle expressions that would otherwise cause a parse error. llvm-svn: 155129
-
Francois Pichet authored
llvm-svn: 155107
-
Richard Smith authored
initialize references, create std::initializer_list objects, or call constructors. llvm-svn: 155105
-
-
Richard Smith authored
specifications on member function templates of class templates and other such nested beasties. Store the function template from which we are to instantiate an exception specification rather than trying to deduce it. Plus some additional test cases. llvm-svn: 155076
-
- Apr 18, 2012
-
-
Fariborz Jahanian authored
property accessor (getter) missing, instead of crashing. // rdar://11273060 llvm-svn: 155036
-
Benjamin Kramer authored
llvm-svn: 155005
-
Francois Pichet authored
Follow up to r154924: check that we are in a static CMethodDecl to enable the Microsoft bug emulation regarding access to protected member during PTM creation. Not just any static function. llvm-svn: 154982
-
Richard Smith authored
and explicit specializations of function templates appropriately. llvm-svn: 154956
-