- Oct 05, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 115590
-
- Oct 02, 2010
-
-
Gabor Greif authored
llvm-svn: 115356
-
Gabor Greif authored
a helper function (AdjustAPSInt) and use that for adjusting the high bounds of case ranges before APSInt comparisons. Fixes http://llvm.org/bugs/show_bug.cgi?id=8135 Some minor refacorings while I am here. llvm-svn: 115355
-
- Oct 01, 2010
-
-
Francois Pichet authored
Better diagnostic for superfluous scope specifier inside a class definition for member functions. + Fixit. Example: class A { void A::foo(); //warning: extra qualification on member 'foo' }; llvm-svn: 115347
-
Douglas Gregor authored
auto f(int) -> int from Daniel Wallin! (With a few minor bug fixes from me). llvm-svn: 115322
-
- Sep 29, 2010
-
-
Douglas Gregor authored
against a function type, be sure to check the type of the resulting function template specialization against the desired function type after substituting the deduced/defaulted template arguments. Fixes PR8196. llvm-svn: 115086
-
- Sep 28, 2010
-
-
Douglas Gregor authored
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. This reinstates r114924, with one crucial bug fix: we were ignoring the implicit fields created by anonymous structs/unions when updating the bits in CXXRecordDecl, which means that a class/struct containing only an anonymous class/struct would be considered "empty". Hilarity follows. llvm-svn: 114980
-
Argyrios Kyrtzidis authored
Fixes rdar://8459342. llvm-svn: 114955
-
- Sep 24, 2010
-
-
Anders Carlsson authored
llvm-svn: 114762
-
- Sep 23, 2010
-
-
Argyrios Kyrtzidis authored
members with the same name as a decl outside the scope where the members are actually introduced. Fixes http://llvm.org/PR6741 llvm-svn: 114641
-
- Sep 21, 2010
-
-
Argyrios Kyrtzidis authored
Fixes rdar://8331312. llvm-svn: 114426
-
- Sep 20, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 114318
-
- Sep 19, 2010
-
-
- Sep 18, 2010
-
-
John McCall authored
unless we're on a platform without __cxa_atexit (or use thereof has been disabled). This patch actually just disables the check completely for static locals, but I've filed http://llvm.org/bugs/show_bug.cgi?id=8176 to track the platform-specific fix. llvm-svn: 114269
-
Douglas Gregor authored
errors. Improves code completion in yet another case. llvm-svn: 114255
-
Douglas Gregor authored
of a binary expression, continue on and parse the right-hand side of the binary expression anyway, but don't call the semantic actions to type-check. Previously, we would see the error and then, effectively, skip tokens until the end of the statement. The result should be more useful recovery, both in the normal case (we'll actually see errors beyond the first one in a statement), but it also helps code completion do a much better job, because we do "real" code completion on the right-hand side of an invalid binary expression rather than completing with the recovery completion. For example, given x = p->y if there is no variable named "x", we can still complete after the p-> as a member expression. Along the recovery path, we would have completed after the "->" as if we were in an expression context, which is mostly useless. llvm-svn: 114225
-
- Sep 15, 2010
-
-
John McCall authored
slot. The easiest way to do that was to bundle up the information we care about for aggregate slots into a new structure which demands that its creators at least consider the question. I could probably be convinced that the ObjC 'needs GC' bit should be rolled into this structure. Implement generalized copy elision. The main obstacle here is that IR-generation must be much more careful about making sure that exactly llvm-svn: 113962
-
Sebastian Redl authored
llvm-svn: 113897
-
- Sep 14, 2010
-
-
John McCall authored
placement 'operator delete', even if there are no placement args (i.e. overload resolution selected an operator new with default arguments). llvm-svn: 113861
-
Sebastian Redl authored
llvm-svn: 113796
-
Sebastian Redl authored
Remove CXXRecordDecl::getDefaultConstructor(), an inherently unsafe function due to lazy declaration of default constructors. Now that __has_nothrow_constructor doesn't use it anymore, part of PR8101 is fixed. llvm-svn: 113794
-
- Sep 13, 2010
-
-
Sebastian Redl authored
Have __has_nothrow_copy use Sema's lookup routines. This fixes the problem with not finding implicitly declared copy constructors, part of PR8107. llvm-svn: 113784
-
Argyrios Kyrtzidis authored
When applying 'delete' on a pointer-to-array type match GCC and EDG behavior and treat it as 'delete[]'. Also offer a fix-it hint adding '[]'. llvm-svn: 113778
-
- Sep 12, 2010
-
-
Douglas Gregor authored
function fails due to ambiguities in partial ordering of function templates. Fixes PR8033. llvm-svn: 113725
-
Douglas Gregor authored
sequences for two conversion functions when in fact we are in the text of initialization by a user-defined conversion sequences. Fixes PR8034. llvm-svn: 113724
-
Douglas Gregor authored
they were instantiated from a template. In template metaprogramming, stuff happens. Fixes PR8065. llvm-svn: 113722
-
Francois Pichet authored
Assigning an underlying integral type to an enum forward declaration will come in a next patch. llvm-svn: 113716
-
Douglas Gregor authored
type. Fixes PR8089 in a slightly different way than had been suggested. llvm-svn: 113711
-
- Sep 11, 2010
-
-
John McCall authored
llvm-svn: 113663
-
- Sep 09, 2010
-
-
Dawn Perchik authored
(__uuidof, _fastcall, etc.). llvm-svn: 113434
-
- Sep 08, 2010
-
-
Douglas Gregor authored
function-style cast. Previously, we had a (redundant, incorrect) semantic-checking path for non-class types, which allowed value-initialization of a reference type and then crashed. llvm-svn: 113415
-
Francois Pichet authored
llvm-svn: 113354
-
Sebastian Redl authored
Don't give 'global constructor' warnings for function statics, even if they have a direct initializer. Fixes PR8095. llvm-svn: 113344
-
Sebastian Redl authored
Fixes PR8110, and thus PR8109, PR8097, and parts of PR8101, PR8105 and PR8107. Only a few traits have tests for incomplete arrays, since I'm not yet clear what the result for them should be; Howards wants to file a DR to change the standard. llvm-svn: 113326
-
Daniel Dunbar authored
llvm-svn: 113301
-
- Sep 06, 2010
-
-
Chris Lattner authored
llvm-svn: 113156
-
Eli Friedman authored
llvm-svn: 113131
-
Eli Friedman authored
llvm-svn: 113124
-
- Sep 05, 2010
-
-
Chris Lattner authored
llvm-svn: 113092
-
Chris Lattner authored
llvm-svn: 113091
-