- Aug 07, 2008
-
-
Ted Kremenek authored
ModuleBuilder now performs llvmgen in HandleTranslationUnit. This patch follows from the discussion on the following thread on cfe-commits: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080804/006849.html llvm-svn: 54486
-
Steve Naroff authored
Fixes <rdar://problem/6093889> Nested enum redefinition crashes sema. llvm-svn: 54463
-
Ted Kremenek authored
llvm-svn: 54440
-
rdar://problem/6125909Ted Kremenek authored
Unify logic in return-of-stack-check (Sema) for casts and implicit casts. llvm-svn: 54439
-
- Aug 06, 2008
-
-
Daniel Dunbar authored
scimark2 on Darwin. - Added Sema support for asm-label on variables, which I forgot before. - Update CodeGen to use GlobalDeclMap to determine if static Decls require emission (instead of LLVM module name lookup). Important since the Decl name and the LLVM module name can differ. - <rdar://problem/6116729> llvm-svn: 54388
-
- Aug 05, 2008
-
-
Daniel Dunbar authored
ActOnDeclarator. llvm-svn: 54353
-
Daniel Dunbar authored
- ActOnDeclarator now takes an additional parameter which is the AsmLabel if used. Its unfortunate that this bubbles up this high, but we cannot just lump it in as an attribute without mistakenly *accepting* it as an attribute. - The actual asm-label itself is, however, encoded as an AsmLabelAttr on the FunctionDecl. - Slightly improved parser error recovery on malformed asm-labels. - CodeGen support still missing... llvm-svn: 54339
-
- 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
-
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 54265
-
Argyrios Kyrtzidis authored
llvm-svn: 54264
-
Daniel Dunbar authored
- Including possible priority argument - In other news, the attribute parsing code really needs a cleanup llvm-svn: 54257
-
- Jul 27, 2008
-
-
Chris Lattner authored
with QualTypes and Types. llvm-svn: 54116
-
Chris Lattner authored
llvm-svn: 54114
-
Chris Lattner authored
ASTContext::getCanonicalType instead (PR2189) llvm-svn: 54105
-
- Jul 26, 2008
-
-
Chris Lattner authored
of doing it directly. This is required for PR2189. llvm-svn: 54102
-
Chris Lattner authored
llvm-svn: 54101
-
Chris Lattner authored
improve 'expression unused' diagnostics for stmtexprs. llvm-svn: 54098
-
Chris Lattner authored
last client of the old ParseObjCProtocolReferences, so it also removes it. llvm-svn: 54094
-
Chris Lattner authored
llvm-svn: 54093
-
Chris Lattner authored
This temporarily duplicates ParseObjCProtocolReferences, but it will be removed in the future. llvm-svn: 54092
-
Chris Lattner authored
llvm-svn: 54091
-
Chris Lattner authored
llvm-svn: 54090
-
Chris Lattner authored
clients allocate the memory and it delete it. llvm-svn: 54087
-
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
as well as complex float. rdar://6097730 llvm-svn: 54080
-
-
Chris Lattner authored
llvm-svn: 54069
-
Chris Lattner authored
problem with &&/||. 2) use canonical types for comparison instead of raw types. 3) emit an ext-warn for a gnu extension. Also simplify the code to make it less nested. llvm-svn: 54068
-
Ted Kremenek authored
llvm-svn: 54067
-
- Jul 25, 2008
-
-
Chris Lattner authored
llvm-svn: 54066
-
Chris Lattner authored
is different than C99. This fixes the rest of rdar://6095180. llvm-svn: 54064
-
Chris Lattner authored
llvm-svn: 54063
-
Chris Lattner authored
it does not do unary promotions (like short->int). llvm-svn: 54058
-
-
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
-
Steve Naroff authored
llvm-svn: 54032
-
Ted Kremenek authored
llvm-svn: 54008
-