- May 25, 2012
-
-
Nuno Lopes authored
add test case for C++ codegen llvm-svn: 157500
-
Rafael Espindola authored
method template. llvm-svn: 157486
-
Nuno Lopes authored
llvm-svn: 157483
-
Rafael Espindola authored
function template. llvm-svn: 157480
-
Anna Zaks authored
llvm-svn: 157478
-
Rafael Espindola authored
the visibility. llvm-svn: 157475
-
Rafael Espindola authored
Similar fixes for function and member template to follow as I write the testcases. llvm-svn: 157470
-
Rafael Espindola authored
llvm-svn: 157469
-
Richard Smith authored
-Wsometimes-uninitialized. This detects cases where an explicitly-written branch inevitably leads to an uninitialized variable use (so either the branch is dead code or there is an uninitialized use bug). This chunk of warnings tentatively lives within -Wuninitialized, in order to give it more visibility to existing Clang users. llvm-svn: 157458
-
Seth Cantrell authored
if the value isn't an unsigned char or EOF behavior is undefined (and on Windows there's an assertion) llvm-svn: 157445
-
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
-