- Aug 05, 2008
-
-
Daniel Dunbar authored
- Use -verify and added expected warnings for EXTWARN change. llvm-svn: 54342
-
-
Daniel Dunbar authored
- <rdar://problem/6122967> llvm-svn: 54338
-
Daniel Dunbar authored
- Like EXTENSION but always generates a warning (even without -pedantic). - Updated ptr -> int, int -> ptr, and incompatible cast warnings to be EXTWARN. - Other EXTENSION level diagnostics should be audited for upgrade. - Updated several test cases to fix code which produced unanticipated warnings. llvm-svn: 54335
-
- Aug 04, 2008
-
-
Daniel Dunbar authored
- clang was erroneously accepting address-of applied to lvalue expressions involving pointer arithmetic. - clang was erroneously rejecting address-of applied to deref expressions of pointer-typed variables. - Improved existing test case. - Fixes: <rdar://problem/6113867>, <rdar://problem/6080158> llvm-svn: 54326
-
Daniel Dunbar authored
- Follows emission scheme used by llvm-gcc, i.e. invent an id for each label whose address is taken and replace each indirect goto by a switch to each possible target. - Currently we emit a switch for each indirect goto instead of merging them as llvm-gcc does. llvm-svn: 54318
-
Chris Lattner authored
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. llvm-svn: 54317
-
- Aug 01, 2008
-
-
Daniel Dunbar authored
- There is an miscompilation issue remaining due to a poor interaction between the delayed emission of static functions and the emission of constructors, but that already existed prior to this change. llvm-svn: 54258
-
Daniel Dunbar authored
- Including possible priority argument - In other news, the attribute parsing code really needs a cleanup llvm-svn: 54257
-
- Jul 31, 2008
-
-
Ted Kremenek authored
Enhanced path-sensitive return-of-stack-address check to print out the name of the variable whose address was returned. llvm-svn: 54253
-
Chris Lattner authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=54107 llvm-svn: 54242
-
- Jul 30, 2008
-
-
Daniel Dunbar authored
<rdar://problem/6113085> llvm-svn: 54237
-
Daniel Dunbar authored
instead of mapping the decl to a bitcast of the global to the correct type. - GetAddrOf{Function,GlobalVar} introduce the bitcast on every use now. - This solves a problem where a dangling pointer could be introduced by the RAUW done when replacing a forward or tentative definition. See testcase for more details. - Fixes <rdar://problem/6108358> llvm-svn: 54211
-
- Jul 29, 2008
-
-
Daniel Dunbar authored
- Killed useless CodeGenModule::EmitGlobalVarDeclarator, instead just recurse on any ScopedDecl. - Fix for <rdar://problem/6093838> llvm-svn: 54162
-
- Jul 27, 2008
-
-
Eli Friedman authored
llvm-svn: 54118
-
- Jul 26, 2008
-
-
Chris Lattner authored
improve 'expression unused' diagnostics for stmtexprs. llvm-svn: 54098
-
Chris Lattner authored
llvm-svn: 54096
-
Chris Lattner authored
llvm-svn: 54091
-
Chris Lattner authored
llvm-svn: 54090
-
Chris Lattner authored
llvm-svn: 54085
-
Chris Lattner authored
remove the objc- prefix from the tests that use it. llvm-svn: 54084
-
Chris Lattner authored
First, fix canonical type handling of these, since protocol qualified id's are always canonical. Next, enhance SemaType to actually make these when used (instead of int) allowing them to actually be used when appropriate. Finally remove a bunch of logic relating to the mishandling of canonical types with protocol-qual id's. This fixes rdar://5986251 llvm-svn: 54083
-
Chris Lattner authored
like "id<foo>". This 1) fixes an infinite loop in the parser on things like "short<foo>" 2) emits a warning about this bogus construct and 3) changes the testcase to be substantially reduced. llvm-svn: 54082
-
Chris Lattner authored
as well as complex float. rdar://6097730 llvm-svn: 54080
-
Chris Lattner authored
llvm-svn: 54079
-
rdar://6103124Chris Lattner authored
are important part of control flow structures. llvm-svn: 54078
-
-
- Jul 25, 2008
-
-
Chris Lattner authored
is different than C99. This fixes the rest of rdar://6095180. llvm-svn: 54064
-
Daniel Dunbar authored
- Had wrong sizeof(long double) encoded into test case - Results now agree with llvm-gcc llvm-svn: 54059
-
Chris Lattner authored
it does not do unary promotions (like short->int). llvm-svn: 54058
-
Ted Kremenek authored
llvm-svn: 54051
-
-
Chris Lattner authored
rdar://6095245. llvm-svn: 54044
-
Steve Naroff authored
(a) removes a bogus warning. (b) removes an undesirable usage of the ObjCMessageExpr constructor that takes an IdentifierInfo * (which I will abolish). llvm-svn: 54042
-
Chris Lattner authored
even if in a system header etc. rdar://6079937 llvm-svn: 54038
-
Chris Lattner authored
llvm-svn: 54037
-
Daniel Dunbar authored
- For: rdar://6096838 llvm-svn: 54036
-
-
Ted Kremenek authored
This fixes PR 2573: http://llvm.org/bugs/show_bug.cgi?id=2573 llvm-svn: 54009
-
Daniel Dunbar authored
- Fix multiple issues with the way case ranges were emitted, see test cases details about the specific issues. - The root issue was not being careful about how basic blocks were emitted which led to them being chained together incorrectly, resulting in improper control flow. - Fixes <rdar://problem/6098585> llvm-svn: 54006
-