- Dec 10, 2007
-
-
Chris Lattner authored
char text[] = "string"; llvm-svn: 44752
-
Chris Lattner authored
llvm-svn: 44751
-
Chris Lattner authored
char text[8] = "string"; Big fixme remains. llvm-svn: 44750
-
Anders Carlsson authored
llvm-svn: 44749
-
Anders Carlsson authored
llvm-svn: 44748
-
- Dec 09, 2007
-
-
Chris Lattner authored
C99 6.5.6. llvm-svn: 44746
-
Anders Carlsson authored
llvm-svn: 44745
-
Anders Carlsson authored
llvm-svn: 44744
-
Chris Lattner authored
not the start of a logical line. Be careful about this distinction, which affects when newlines are printed and when paste-avoidance happens, etc. This fixes PR1848, thanks to Neil for noticing this! llvm-svn: 44743
-
Chris Lattner authored
This would cause us to emit different code (in -E mode) for these two files: --- #define t(x) x t(a 3) --- #define t(x) x t(a 3) --- In one case, -E would print "a\n3", in the other it printed "a3". Now it prints "a3" for both. This is part of PR1848. llvm-svn: 44742
-
Chris Lattner authored
info of each token. llvm-svn: 44741
-
Chris Lattner authored
llvm-svn: 44739
-
Chris Lattner authored
llvm-svn: 44737
-
Chris Lattner authored
llvm-svn: 44736
-
Chris Lattner authored
llvm-svn: 44735
-
Chris Lattner authored
llvm-svn: 44734
-
Chris Lattner authored
llvm-svn: 44731
-
Chris Lattner authored
llvm-svn: 44730
-
- Dec 08, 2007
-
-
Anders Carlsson authored
llvm-svn: 44712
-
Fariborz Jahanian authored
used as reciver type of a message expression. llvm-svn: 44693
-
- Dec 07, 2007
-
-
Steve Naroff authored
Omit the field name when including the super class structure template. This allows us to access a superclasses ivars without deriving the absolute path. The comments below say a bit more... llvm-svn: 44688
-
Fariborz Jahanian authored
type. llvm-svn: 44685
-
Steve Naroff authored
Have Sema::CheckConstantInitList skip semantic analysis when the element type is a record (until we implement the FIXME). This removes a bogus error for the following code... snarofflocal% cat bug.m #import <Foundation/NSGeometry.h> #define NUMHELICOPTERRECTS 5 static NSRect helicopterRects[NUMHELICOPTERRECTS] = { {{27, 0}, {18, 11}}, // Bottom {{0, 8}, {4, 11}}, // Tail {{0, 16}, {50, 1}}, {{22, 5}, {18, 12}}, // Body {{0, 10}, {42, 3}} }; llvm-svn: 44684
-
Steve Naroff authored
Lookup methods in the global pool even when a statically typed object's class interface isn't in scope! As the comment in the code indicates, I'm not fond of this. Nevertheless, gcc compat is a goal. Here is the case I'm talking about... #import <Foundation/Foundation.h> @interface AnyClass : NSObject - (NSRect)rect; @end @class Helicopter; static void func(Helicopter *obj) { NSRect r = [obj rect]; } ...before this patch, we would warn/error. With this patch, everything "just works". llvm-svn: 44682
-
Fariborz Jahanian authored
llvm-svn: 44681
-
Steve Naroff authored
Rewrite 'super' within a class method. This required some minor tweaks to the front-end. llvm-svn: 44673
-
Fariborz Jahanian authored
"@class Protocol;" llvm-svn: 44670
-
- Dec 06, 2007
-
-
Anders Carlsson authored
llvm-svn: 44666
-
Fariborz Jahanian authored
to rewriter (my previous patch). llvm-svn: 44665
-
Devang Patel authored
struct STestB1 {char a; char b:2; } stb1; struct STestB2 {char a; char b:5; char c:4} stb2; llvm-svn: 44664
-
Fariborz Jahanian authored
llvm-svn: 44662
-
Chris Lattner authored
llvm-svn: 44661
-
Chris Lattner authored
llvm-svn: 44653
-
Fariborz Jahanian authored
crash because of this. llvm-svn: 44648
-
Ted Kremenek authored
GetLanguage, and InitializeLangOptions. The goal is to break up this logic into atomic units of functionality that can later be refactored into better driver logic that is capable of handling a mixture of source files of different languages. llvm-svn: 44642
-
Chris Lattner authored
llvm-svn: 44639
-
- Dec 05, 2007
-
-
Steve Naroff authored
Make sure Parser::ParseObjCSelectorExpression() handles unary selectors (with no arguments) properly. llvm-svn: 44636
-
Ted Kremenek authored
llvm-svn: 44635
-
Ted Kremenek authored
class to serialize and deserialize translation units. llvm-svn: 44634
-
Steve Naroff authored
Make sure the class methods get attached to the metaclass object. Need to query the implementation, not the interface... llvm-svn: 44633
-