- Apr 12, 2009
-
-
Nick Lewycky authored
llvm-svn: 68910
-
Chris Lattner authored
llvm-svn: 68909
-
Chris Lattner authored
exit at the first decl found that creates a scope, don't evaluate decl_end() every iteration. llvm-svn: 68908
-
Chris Lattner authored
llvm-svn: 68907
-
Chris Lattner authored
strncat :( strncat(foo, "bar", 99) would be optimized to memcpy(foo+strlen(foo), "bar", 100, 1) instead of memcpy(foo+strlen(foo), "bar", 4, 1)" Patch by Benjamin Kramer! llvm-svn: 68905
-
Fariborz Jahanian authored
llvm-svn: 68904
-
Sebastian Redl authored
llvm-svn: 68903
-
Sebastian Redl authored
Parse deleted member functions. Parsing member declarations goes through a different code path that I forgot previously. Implement the rvalue reference overload dance for returning local objects. Returning a local object first tries to find a move constructor now. The error message when no move constructor is defined (or is not applicable) and the copy constructor is deleted is quite ugly, though. llvm-svn: 68902
-
Rafael Espindola authored
llvm-svn: 68901
-
Chris Lattner authored
llvm-svn: 68900
-
-
Chris Lattner authored
llvm-svn: 68898
-
Chris Lattner authored
llvm-svn: 68897
-
Chris Lattner authored
llvm-svn: 68896
-
Chris Lattner authored
llvm-svn: 68895
-
rdar://6771034Chris Lattner authored
list of another protocol definition. This warning is very noisy and GCC doesn't produce it so existing code doesn't expect it. llvm-svn: 68894
-
Chris Lattner authored
llvm-svn: 68893
-
Chris Lattner authored
or "Objective-C interface types" etc. llvm-svn: 68892
-
-
Chris Lattner authored
See comment for details. This fixes rdar://6772169 llvm-svn: 68890
-
Chris Lattner authored
copying into the right register, avoiding a copy. llvm-svn: 68889
-
Chris Lattner authored
and make it return the assigned register. llvm-svn: 68888
-
Chris Lattner authored
llvm-svn: 68887
-
Chris Lattner authored
hasImplicitDefOfPhysReg methods. Use them to remove a look in X86 fast isel. llvm-svn: 68886
-
Chris Lattner authored
code. Patch by Benjamin Kramer! llvm-svn: 68885
-
Chris Lattner authored
macro definitions. llvm-svn: 68884
-
Chris Lattner authored
llvm-svn: 68883
-
- Apr 11, 2009
-
-
Chris Lattner authored
macro deserialization. We now correctly install II's in tokens, handle function-like macros, etc. llvm-svn: 68882
-
Chris Lattner authored
llvm-svn: 68881
-
Chris Lattner authored
@property int x; associate the location of X with the property decl, not the location of the @. Also, pass this info along to the synthesized ParmVarDecls so that redefinition and other diagnostics can use it. This eliminates a fixme. llvm-svn: 68880
-
Chris Lattner authored
that it is plumbed through Sema. On a file from growl, we used to emit: t.mi:107059:1: warning: conflicting types for 'removePluginHandler:forPluginTypes:' - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions { ^ t.mi:105280:1: note: previous definition is here - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types; ^ now we produce: t.mi:107059:55: warning: conflicting parameter types in implementation of 'removePluginHandler:forPluginTypes:': 'id<NSObject>' vs 'id<GrowlPluginHandler>' - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions { ^ t.mi:105280:45: note: previous definition is here - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types; ^ We still don't have proper loc info for properties, hence the FIXME. rdar://6782494 llvm-svn: 68879
-
Chris Lattner authored
llvm-svn: 68878
-
Chris Lattner authored
llvm-svn: 68877
-
Chris Lattner authored
to their arguments. llvm-svn: 68876
-
Chris Lattner authored
a block without a prototype should still coerce a return in it to use the declared return type. llvm-svn: 68875
-
Chris Lattner authored
llvm-svn: 68874
-
Chris Lattner authored
llvm-svn: 68873
-
Chris Lattner authored
1) improve localizability by not passing english strings in. 2) improve location for arguments. 3) print the objc type being passed. Before: method-bad-param.m:15:1: error: Objective-C type cannot be passed by value -(void) my_method:(foo) my_param ^ after: method-bad-param.m:15:25: error: Objective-C interface type 'foo' cannot be passed by value -(void) my_method:(foo) my_param ^ llvm-svn: 68872
-
Chris Lattner authored
information in a little struct instead of individually. While we're at it, add per-argument loc info and attribute info. llvm-svn: 68871
-
Fariborz Jahanian authored
llvm-svn: 68870
-