Eli Friedman
31a5bcc24e
Unify return type checking for functions and ObjC methods. Move all the
...
random checks for ObjC object return types to SemaType.cpp.
Fixes issue with ObjC method type checking reported on cfe-dev.
llvm-svn: 184006
2013-06-14 21:14:10 +00:00
Richard Smith
3ab15558d7
PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:
...
RUN: foo
RUN: bar || true
is equivalent to:
RUN: foo && bar || true
which is equivalent to:
RUN: (foo && bar) || true
This resulted in several of the fixit tests not really testing anything.
llvm-svn: 139132
2011-09-06 03:01:15 +00:00
Fariborz Jahanian
6507135e12
Provide fixit for static use of objective-c type
...
in few more places and in each instance, fix up
the type to the expected type. // rdar://9603056
llvm-svn: 136103
2011-07-26 17:58:54 +00:00
Fariborz Jahanian
9a14c21cfd
objective-c: Provide a 'fixit' when class was used
...
to declare a static object. // rdar://9603056
llvm-svn: 135970
2011-07-25 21:12:27 +00:00