- Jul 16, 2010
-
-
Daniel Dunbar authored
llvm-svn: 108481
-
Daniel Dunbar authored
llvm-svn: 108480
-
John McCall authored
the order they appeared in the translation unit. If they get emitted, put them in their proper order. Fixes rdar://problem/7458115 llvm-svn: 108477
-
Devang Patel authored
Set "optimization is ON" and supply other optional parameters. This helps codegenerator preserve info in case the symbol is deleted. llvm-svn: 108471
-
Douglas Gregor authored
with always_inline attribute. Thanks to Howard for the tip. llvm-svn: 108469
-
Devang Patel authored
Tested by namespace.exp and virtfunc.exp from gdb testsuite. llvm-svn: 108468
-
- Jul 15, 2010
-
-
John McCall authored
for string literals. llvm-svn: 108464
-
Douglas Gregor authored
parser is looking at a declaration or an expression, use a '=' to conclude that we are parsing a declaration. This is wrong. However, our previous approach of finding a comma after the '=' is also wrong, because the ',' could be part of a template-argument-list. So, for now we're going to use the same wrong heuristic as GCC and Visual C++, because less real-world code is likely to be broken this way. I've opened PR7655 to keep track of our wrongness; note also the XFAIL'd test. Fixes <rdar://problem/8193163>. llvm-svn: 108459
-
Douglas Gregor authored
with the proper spelling of "non-class prvalue". Silly me, I think class rvalues were xvalues rather than prvalues! Hah hah hah. llvm-svn: 108443
-
Douglas Gregor authored
that we don't warn when there isn't going to be any computation anyway. llvm-svn: 108442
-
Douglas Gregor authored
broke nightlytest. llvm-svn: 108439
-
Devang Patel authored
This is not required (I am not 100% sure why) but method.exp from gdb testsuite flagged regression due to this patch. llvm-svn: 108434
-
Douglas Gregor authored
llvm-svn: 108433
-
Douglas Gregor authored
that involve binding a reference to a pure rvalue temporary (e.g., not a class temporary), by creating a new temporary and copying the result there. Fixes PR6024. llvm-svn: 108431
-
Douglas Gregor authored
llvm-svn: 108428
-
Daniel Dunbar authored
assume we are targetting OS X unless an explicit option is given. llvm-svn: 108426
-
Daniel Dunbar authored
llvm-svn: 108423
-
Chris Lattner authored
Don't warn about "logically bool" expressions on the RHS, even if they fold to a constant. llvm-svn: 108388
-
Sebastian Redl authored
Add a callback interface that allows interested parties to get notified whenever PCHReader deserializes a type or decl (and possibly other things in the future). Have PCHWriter implement these callbacks as noops and register to receive them if we're chaining PCHs. This will allow PCHWriter to track the IDs of these things, which it needs to write the dependent files. WIP llvm-svn: 108383
-
Daniel Dunbar authored
whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI dependent. - <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug llvm-svn: 108379
-
Sebastian Redl authored
llvm-svn: 108377
-
Douglas Gregor authored
arguments only resolves to a single specialization, make sure to look through using declarations. Fixes PR7641. llvm-svn: 108376
-
Benjamin Kramer authored
llvm-svn: 108375
-
Douglas Gregor authored
definition, we're likely going to end up breaking the invariants of the template system, e.g., that the depths of template parameter lists match up with the nesting template of the template. So, make sure we mark such ill-formed declarations as invalid or don't even build them at all. llvm-svn: 108372
-
- Jul 14, 2010
-
-
Douglas Gregor authored
llvm-svn: 108363
-
Sebastian Redl authored
llvm-svn: 108354
-
Daniel Dunbar authored
looking up Clang in the normal search paths (which may end up finding the wrong clang). llvm-svn: 108346
-
Daniel Dunbar authored
llvm-svn: 108345
-
Fariborz Jahanian authored
and some are already synthesized by user declaration. llvm-svn: 108341
-
Sebastian Redl authored
llvm-svn: 108340
-
Douglas Gregor authored
_Foo) from code-completion results when they come from a system header. llvm-svn: 108338
-
Fariborz Jahanian authored
as well. Fixes radar 7975788. llvm-svn: 108333
-
John McCall authored
follow <name>; instead they follow <type>, which has <name> as a subset. Fixes PR7446. llvm-svn: 108326
-
John McCall authored
- TSTs whose template is a template template parameter already work - we don't provide an imaginary type, so we can't mangle one - we don't need a generic FIXME for vendor type qualifiers llvm-svn: 108317
-
John McCall authored
the current proposals from David Vandervoorde for new, delete, throw, typeid, imaginary literals, string literals, and null literals. llvm-svn: 108315
-
Daniel Dunbar authored
are explicitly given. llvm-svn: 108297
-
John McCall authored
harmless way. llvm-svn: 108295
-
Douglas Gregor authored
reinterpret_casts (possibly indirectly via C-style/functional casts) on values, e.g., int i; reinterpret_cast<short&>(i); The IR generated for this is essentially the same as for *reinterpret_cast<short*>(&i). Fixes PR6437, PR7593, and PR7344. llvm-svn: 108294
-
John McCall authored
llvm-svn: 108288
-
John McCall authored
or a catch of a record type by value or reference. Also convert this to a lazy cleanup. llvm-svn: 108287
-