- Mar 24, 2010
-
-
Gabor Greif authored
llvm-svn: 99394
-
Duncan Sands authored
llvm-svn: 99392
-
John McCall authored
llvm-svn: 99391
-
John McCall authored
template <> friend void foo(int); we need to change it to friend void foo<>(int); or else the user won't get the template specialization they obviously want. llvm-svn: 99390
-
John McCall authored
llvm-svn: 99389
-
Douglas Gregor authored
that was present in a prior declaration, emit a warning rather than a hard error (which we did before, and still do with mismatched exception specifications). Moreover, provide a fix-it hint with the throw() clause that should be added, e.g., t.C:10:7: warning: 'operator new' is missing exception specification 'throw(std::bad_alloc)' void *operator new(unsigned long sz) ^ throw(std::bad_alloc) As part of this, disable the warning when we're missing an exception specification on operator new, operator new[], operator delete, or operator delete[] when exceptions are turned off (-fno-exceptions). Fixes PR5957. llvm-svn: 99388
-
Anders Carlsson authored
llvm-svn: 99385
-
Anders Carlsson authored
llvm-svn: 99384
-
John McCall authored
templates. So delay access-control diagnostics when (for example) the target of a friend declaration is a specific specialization of a template. I was surprised to find that this was required for an access-controlled selfhost. llvm-svn: 99383
-
Douglas Gregor authored
operators, make sure that the implicitly-declared global new and delete operators are always available. Fixes PR5904. llvm-svn: 99382
-
Anders Carlsson authored
llvm-svn: 99381
-
Daniel Dunbar authored
llvm-svn: 99380
-
Evan Cheng authored
llvm-svn: 99378
-
Douglas Gregor authored
scope. Fixes PR6619. llvm-svn: 99377
-
Johnny Chen authored
llvm-svn: 99376
-
Chris Lattner authored
and defining the add pattern with Pat<>, eliminating a use of parallel. llvm-svn: 99375
-
Anders Carlsson authored
llvm-svn: 99374
-
Johnny Chen authored
respectively, and add some more comment. llvm-svn: 99373
-
Dan Gohman authored
llvm-svn: 99372
-
Chris Lattner authored
data it contains (similar to GetStringMapEntryFromValue). Patch by Greg Clayton! llvm-svn: 99371
-
Chris Lattner authored
llvm-svn: 99370
-
Chris Lattner authored
ISD node. The only change in the generated isel code are comments like: < // Src: (X86dec_flag:i16 GR16:i16:$src) --- > // Src: (X86dec_flag:i16:i32 GR16:i16:$src) because now it knows that X86dec_flag returns both an i16 (for the result) and an i32 (for EFLAGS) in this case. Wewt. llvm-svn: 99369
-
Douglas Gregor authored
each namespace, even when the outer namespace has multiple definitions. As part of this, collapsed two pointers worth of storage (original namespace and inner anonymous namespace) into a single pointer with a distinguishing bit, since the two are mutually exclusive, saving a pointer per NamespaceDecl. Fixes PR6620. llvm-svn: 99368
-
Anders Carlsson authored
llvm-svn: 99367
-
Chris Lattner authored
in some more places. llvm-svn: 99366
-
Anders Carlsson authored
llvm-svn: 99365
-
Anders Carlsson authored
llvm-svn: 99364
-
Anders Carlsson authored
llvm-svn: 99363
-
Dan Gohman authored
llvm-svn: 99362
-
Dan Gohman authored
based on a suggestion by Jochen Wilhelmy. llvm-svn: 99361
-
Chris Lattner authored
llvm-svn: 99360
-
Chris Lattner authored
llvm-svn: 99359
-
Chris Lattner authored
llvm-svn: 99358
-
Chris Lattner authored
instead of reimplementing it wrong and poorly. llvm-svn: 99357
-
Jim Grosbach authored
test run permformance numbers say as to whether it helps. llvm-svn: 99355
-
Chris Lattner authored
llvm-svn: 99354
-
Chris Lattner authored
llvm-svn: 99353
-
Jakob Stoklund Olesen authored
This reverts commit 99345. It was breaking buildbots. llvm-svn: 99352
-
Douglas Gregor authored
function within a class hierarchy (C++ [class.virtual]p2). We use the final-overrider computation to determine when a particular class is ill-formed because it has multiple final overriders for a given virtual function (e.g., because two virtual functions override the same virtual function in the same virtual base class). Fixes PR5973. We also use the final-overrider computation to determine which virtual member functions are pure when determining whether a class is abstract or diagnosing the improper use of an abstract class. The prior approach to determining whether there were any pure virtual functions in a class didn't cope with virtual base class subobjects properly, and could not easily be fixed to deal with the oddities of subobject hiding. Fixes PR6631. llvm-svn: 99351
-
Daniel Dunbar authored
llvm-svn: 99350
-