- May 25, 2012
-
-
Richard Smith authored
llvm-svn: 157440
-
Fariborz Jahanian authored
llvm-svn: 157436
-
Fariborz Jahanian authored
backing two propeties because proprty names match except for first letter being of different case. // rdar://11528439, [PR12936]. llvm-svn: 157435
-
Eli Friedman authored
llvm-svn: 157434
-
Eli Friedman authored
Implement the C++11 discarded value expression rules for volatile lvalues. <rdar://problem/10790820>. llvm-svn: 157420
-
- May 24, 2012
-
-
Eli Friedman authored
A minor tweak to the new volatile lvalue warning: don't warn on "(void)x", where "x" refers to a local variable. This should silence a useless warning in compiler-rt and other places. llvm-svn: 157414
-
Fariborz Jahanian authored
Where diagnostic about unfound property is not issued in the context where a setter is looked up in situation in which name and property name differ in their first letter case. // rdar://11363363 llvm-svn: 157407
-
Justin Holewinski authored
NV_CONTRIB llvm-svn: 157403
-
Anna Zaks authored
llvm-svn: 157402
-
Anna Zaks authored
pointer. Fixes one of the crashes reported in PR12874. llvm-svn: 157401
-
Argyrios Kyrtzidis authored
[objcmt] Warn when modern objc migrator does not convert a NSNumber message because it requires a cast. rdar://11525138 llvm-svn: 157395
-
Seth Cantrell authored
http://llvm.org/bugs/show_bug.cgi?id=12924 This issue was that the source location was pointing to a non-printable character and so CaretEnd was pointing one _column_ past the caret but not one _character_ past the caret. So the conversion between column and byte locations wasn't working (because the conversion is only valid from the first column or byte of a character). llvm-svn: 157372
-
Richard Smith authored
volatile reference to a temporary is not viable. My interpretation is that DR1152 was a bugfix, not a rule change for C++11, so this is not conditional on the language mode. This matches g++'s behavior. llvm-svn: 157370
-
Eli Friedman authored
Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>. llvm-svn: 157362
-
Nuno Lopes authored
Portions of this patch by Xi Wang. Reviewed by Jordy Rose. Thank you both. Codegen support will follow soon. llvm-svn: 157360
-
Fariborz Jahanian authored
statement. // rdar://11474836. llvm-svn: 157359
-
NAKAMURA Takumi authored
It fixes test/Tooling on Win32 hosts. llvm-svn: 157350
-
- May 23, 2012
-
-
Argyrios Kyrtzidis authored
idiom that is used commonly in setters: [backingValue autorelease]; backingValue = [newValue retain]; // in general a +1 assign rdar://9914061 llvm-svn: 157347
-
Chad Rosier authored
rdar://11518308 llvm-svn: 157346
-
Manuel Klimek authored
that allows easy refactoring across translation units. llvm-svn: 157331
-
Richard Smith authored
start with a cv-qualifier. DeclaratorDecl::getTypeSpecStartLoc() does not produce the location of the first type-specifier (the cv-qualifier) in this case, because we don't track source locations for cv-qualifiers. No test here: I've not found a way to test this with a lit-style test, and introducing a gtest test for this seems unwarranted. Suggestions welcome! Patch by Daniel Jasper! llvm-svn: 157311
-
Richard Smith authored
pointer, but such folding encounters side-effects, ignore the side-effects rather than performing them at runtime: CodeGen generates wrong code for __builtin_object_size in that case. llvm-svn: 157310
-
Eric Christopher authored
Part of rdar://11496790 llvm-svn: 157304
-
- May 22, 2012
-
-
John McCall authored
on the RecordDecl. Persist the MS portability type attributes and ignore them in Sema rather than the parser. Patch by João Matos! llvm-svn: 157288
-
Nuno Lopes authored
llvm-svn: 157262
-
Manuel Klimek authored
first writing the changed files to a temporary location and then overwriting the original files atomically. Also adds a RewriterTestContext to aid unit testing rewrting logic in general. llvm-svn: 157260
-
Nuno Lopes authored
llvm-svn: 157256
-
Argyrios Kyrtzidis authored
rdar://11501256 llvm-svn: 157227
-
Fariborz Jahanian authored
errornously using commas to separate ObjC message arguments. // rdar://11376372 llvm-svn: 157216
-
Eric Christopher authored
however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 llvm-svn: 157212
-
Anna Zaks authored
(ex: float). llvm-svn: 157211
-
- May 21, 2012
-
-
Rafael Espindola authored
llvm-svn: 157207
-
Rafael Espindola authored
struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct HIDDEN bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } Before we would produce a hidden symbol in struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } But adding HIDDEN to the specialization would cause us to produce a default symbol. llvm-svn: 157206
-
Argyrios Kyrtzidis authored
arguments, force use of clang frontend for the driver. Fixes rdar://11356765. llvm-svn: 157205
-
Benjamin Kramer authored
While there clean up indentation. llvm-svn: 157204
-
Argyrios Kyrtzidis authored
migration error". Per feedback from John this is useful to have in general. llvm-svn: 157198
-
Fariborz Jahanian authored
llvm-svn: 157194
-
Fariborz Jahanian authored
provide a 'fixit' to change 'readonly' to 'readwrite'. // rdar://11448209 llvm-svn: 157193
-
Peter Collingbourne authored
llvm-svn: 157173
-
Peter Collingbourne authored
header searches with CUDA. llvm-svn: 157172
-