- Apr 27, 2011
-
-
Anders Carlsson authored
When compiling with -fno-threadsafe-statics, guard variables for globals with internal linkage don't have to be i64, i8 works just fine! llvm-svn: 130286
-
Douglas Gregor authored
llvm-svn: 130285
-
Douglas Gregor authored
looking at the context and the correction and using a custom diagnostic. Also, enable some Fix-It tests that were somewhat lamely disabled. llvm-svn: 130283
-
Douglas Gregor authored
llvm-svn: 130280
-
John McCall authored
instance methods to have bound-member type. Fixing that broke __unknown_anytype, which I've in turn fixed. llvm-svn: 130266
-
Douglas Gregor authored
determine which is a better conversion to "void*", be sure to perform the comparison using the safe-for-id ASTContext::canAssignObjCInterfaces() rather than the asserts-with-id ASTContext::canAssignObjCInterfaces(). Fixes <rdar://problem/9327203>. llvm-svn: 130259
-
Fariborz Jahanian authored
non-bitfield members are ignore. // rdar://8823265 wip llvm-svn: 130257
-
Douglas Gregor authored
the qualifiers (e.g., GC qualifiers) on the type we're converting from, rather than just blindly adopting the qualifiers of the type we're converting to or dropping qualifiers altogether. As an added bonus, properly diagnose GC qualifier mismatches to eliminate a crash in the overload resolution failure diagnostics. llvm-svn: 130255
-
- Apr 26, 2011
-
-
Manuel Klimek authored
includes get resolved, especially when they are found relatively to another include file. We also try to get it working for framework includes, but that part of the code is untested, as I don't have a code base that uses it. llvm-svn: 130246
-
Devang Patel authored
llvm-svn: 130244
-
Argyrios Kyrtzidis authored
The size of the array may not be aligned according to alignment of its elements if an alignment attribute is specified in a typedef. Fixes rdar://8665729 & http://llvm.org/PR5637. llvm-svn: 130242
-
John McCall authored
member function, i.e. something of the form 'x.f' where 'f' is a non-static member function. Diagnose this in the general case. Some of the new diagnostics are probably worse than the old ones, but we now get this right much more universally, and there's certainly room for improvement in the diagnostics. llvm-svn: 130239
-
Daniel Dunbar authored
llvm-svn: 130233
-
Fariborz Jahanian authored
(and ignore it for now) - wip. llvm-svn: 130224
-
Argyrios Kyrtzidis authored
Emit a -Wnull-dereference warning for "*null" not just "*null = something". Addresses rdar://9269271. llvm-svn: 130207
-
Argyrios Kyrtzidis authored
Disable a test that fails on windows; for some reason we don't detect that the header has different timestamp. llvm-svn: 130204
-
NAKAMURA Takumi authored
llvm-svn: 130183
-
Eric Christopher authored
llvm-svn: 130179
-
Devang Patel authored
llvm-svn: 130177
-
-
Devang Patel authored
llvm-svn: 130175
-
Fariborz Jahanian authored
side-effect to generate their ir. Not just for __builtin_expect. // rdar://9330105 llvm-svn: 130172
-
Argyrios Kyrtzidis authored
For the warnings related to -Wparentheses, display first the note about how to silence the warning and any other suggestion after that. Related to rdar://9300260. llvm-svn: 130169
-
Ted Kremenek authored
Re-enable disable free optimization where the FrontendAction is not freed when -disable-free is passed. This accidentally was commited in r128011. llvm-svn: 130168
-
Ted Kremenek authored
When generating printf fixits, preserve the original formating for unsigned integers (e.g., 'x', 'o'). llvm-svn: 130164
-
Fariborz Jahanian authored
constant-folded. // rdar://9330105 llvm-svn: 130163
-
Argyrios Kyrtzidis authored
llvm-svn: 130162
-
Lenny Maiorani authored
Implements the strncmp() checker just like the strcmp() checker, but with bounds. Requires LLVM svn r129582. llvm-svn: 130161
-
- Apr 25, 2011
-
-
Argyrios Kyrtzidis authored
'extern' variables in functions don't shadow externs in global scope. Fixes rdar://8883302, this time for C++ as well. llvm-svn: 130157
-
Nico Weber authored
llvm-svn: 130152
-
Daniel Dunbar authored
write access to. llvm-svn: 130150
-
Chris Lattner authored
into user code which may warn about them with -pedantic. Patch by Jonathan Sauer! llvm-svn: 130149
-
Chris Lattner authored
the enum decl, we need to use an integer type the same size as the enumerator, which may not be the promoted type with packed enums. llvm-svn: 130148
-
Fariborz Jahanian authored
This is wip. llvm-svn: 130138
-
Douglas Gregor authored
Minor tweak to avoid having to dig through canonical types multiple times when checking a qualification conversion llvm-svn: 130136
-
Francois Pichet authored
llvm-svn: 130132
-
Douglas Gregor authored
invalid expression rather than the far-more-generic "error". Fixes a mild regression in error recovery uncovered by the GCC testsuite. llvm-svn: 130128
-
Chandler Carruth authored
only a few lines of the file. Also set their properties to have explicitly native eol sytle. llvm-svn: 130124
-
John Wiegley authored
Patch authored by David Abrahams. These two expression traits (__is_lvalue_expr, __is_rvalue_expr) are used for parsing code that employs certain features of the Embarcadero C++ compiler. llvm-svn: 130122
-
Chandler Carruth authored
update. Despite the diff, nothing but line endings changed here. llvm-svn: 130121
-