- Aug 12, 2010
-
-
Douglas Gregor authored
llvm-svn: 110945
-
Douglas Gregor authored
Downgrade error about nonnull attribute bbeing applied to a function without point arguments to a warning llvm-svn: 110939
-
Abramo Bagnara authored
llvm-svn: 110912
-
Jordy Rose authored
Remove OwnershipAttr::Kind, since it's essentially redundant with attr::Kind the way it's being used. Also fix isa<OwnershipAttr> support, break more-than-80-char lines, and other miscellaneous ownership attr cleanup. llvm-svn: 110908
-
John McCall authored
Fixes PR7859. llvm-svn: 110906
-
John McCall authored
is 8.5MB, sorry. llvm-svn: 110901
-
John McCall authored
invalid destructor. llvm-svn: 110891
-
John McCall authored
Fixes a crash in a rather large and difficult-to-reduce test case. llvm-svn: 110882
-
Abramo Bagnara authored
llvm-svn: 110860
-
- Aug 11, 2010
-
-
Douglas Gregor authored
the code-completion consumer. The consumer can use this information to augument, filter, or display the code-completion results. llvm-svn: 110858
-
Fariborz Jahanian authored
types. Fixes PR7865. llvm-svn: 110832
-
Benjamin Kramer authored
llvm-svn: 110807
-
Douglas Gregor authored
that actually refer to the same underlying type, it is not an ambiguity; add uniquing support based on the canonical type of type declarations. Fixes <rdar://problem/8296180>. llvm-svn: 110806
-
Douglas Gregor authored
and create separate decl nodes for forward declarations and the definition," which appears to be causing significant Objective-C breakage. llvm-svn: 110803
-
Douglas Gregor authored
implicit conversion sequences. In particular, model the "standard conversion" from a class to its own type (or a base type) directly as a standard conversion in the normal path *without* trying to determine if there is a valid copy constructor. This appears to match the intent of C++ [over.best.ics]p6 and more closely matches GCC and EDG. As part of this, model non-lvalue reference initialization via user-defined conversion in overloading the same way we handle it in InitializationSequence, separating the "general user-defined conversion" and "conversion to compatible class type" cases. The churn in the overload-call-copycon.cpp test case is because the test case was originally wrong; it assumed that we should do more checking for copy constructors that we actually should, which affected overload resolution. Fixes PR7055. Bootstrapped okay. llvm-svn: 110773
-
- Aug 10, 2010
-
-
Fariborz Jahanian authored
type receiver (pr7861). llvm-svn: 110696
-
Douglas Gregor authored
transforming TypeSourceInfos already gives us proper (and better) source-location information. llvm-svn: 110678
-
Abramo Bagnara authored
llvm-svn: 110677
-
Abramo Bagnara authored
llvm-svn: 110666
-
Abramo Bagnara authored
llvm-svn: 110663
-
Eli Friedman authored
fix an issue compiling <windows.h>. llvm-svn: 110651
-
Fariborz Jahanian authored
(radar 8127244). llvm-svn: 110622
-
Douglas Gregor authored
sure to clear out the LookupResult structure after looking into each class. llvm-svn: 110615
-
- Aug 09, 2010
-
-
Sebastian Redl authored
- Make ObjCInterfaceDecl redeclarable, and create separate decl nodes for forward declarations and the definition. - Eagerly create ObjCInterfaceTypes for declarations. - The two above changes lead to a 0.5% increase in memory use and no speed regression when parsing Cocoa.h. On the other hand, now chained PCH works when there's a forward declaration in one PCH and the interface definition in another. - Add HandleInterestingDecl to ASTConsumer. PCHReader passes the "interesting" decls it finds to this function instead of HandleTopLevelDecl. The default implementation forwards to HandleTopLevelDecl, but ASTUnit's handler for example ignores them. This fixes a potential crash when lazy loading of PCH data would cause ASTUnit's "top level" declaration collection to change while being iterated. llvm-svn: 110610
-
John Thompson authored
llvm-svn: 110609
-
- Aug 08, 2010
-
-
Chandler Carruth authored
llvm-svn: 110542
-
Chandler Carruth authored
llvm-svn: 110537
-
Eli Friedman authored
llvm-svn: 110526
-
- Aug 07, 2010
-
-
Douglas Gregor authored
conversions. Fixes PR7443. llvm-svn: 110519
-
Douglas Gregor authored
llvm-svn: 110515
-
Douglas Gregor authored
an lvalue of another, compatible Objective-C object type (e.g., a subclass). Introduce a new initialization sequence step kind to describe this binding, along with a new cast kind. Fixes PR7741. llvm-svn: 110513
-
John McCall authored
This takes some trickery since CastExpr has subclasses (and indeed, is abstract). Also, smoosh the CastKind into the bitfield from Expr. Drops two words of storage from Expr in the common case of expressions which don't need inheritance paths. Avoids a separate allocation and another word of overhead in cases needing inheritance paths. Also has the advantage of not leaking memory, since destructors for AST nodes are never run. llvm-svn: 110507
-
Eli Friedman authored
dependent in ActOnIdExpression. (This issue only shows up with member operators because an operator is never a type.) llvm-svn: 110486
-
- Aug 06, 2010
-
-
Douglas Gregor authored
a template-argument-list. When template template parameters are involved, we won't already have checked the template-argument-list (it may not be known yet!). Fixes PR7807. llvm-svn: 110444
-
Douglas Gregor authored
prototypes. Fixes PR7738. llvm-svn: 110443
-
Abramo Bagnara authored
llvm-svn: 110441
-
Douglas Gregor authored
C++, from Andrea Nall! llvm-svn: 110439
-
Douglas Gregor authored
vectors, from Anton Yartsev! llvm-svn: 110437
-
Nick Lewycky authored
llvm-svn: 110432
-
John McCall authored
found within contexts other than the translation unit. llvm-svn: 110417
-