| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
doing printf format string checking. This is a recent regression.
llvm-svn: 97318
|
| |
|
|
|
|
| |
bogus warning. Fixes radar 7682116.
llvm-svn: 97157
|
| |
|
|
| |
llvm-svn: 97103
|
| |
|
|
| |
llvm-svn: 97002
|
| |
|
|
|
|
|
|
| |
(with no names)
that refer to an undefined class.
llvm-svn: 96976
|
| |
|
|
| |
llvm-svn: 96968
|
| |
|
|
| |
llvm-svn: 96850
|
| |
|
|
|
|
|
|
|
| |
methods, but
instead it crashes on them. We might extend this attribute to work on methods, but for
now fix the crasher. Addresses <rdar://problem/7670939>.
llvm-svn: 96723
|
| |
|
|
|
|
| |
blocks. WIP.
llvm-svn: 96696
|
| |
|
|
|
|
| |
there is a setter but no getter (part of radar 7664555).
llvm-svn: 96687
|
| |
|
|
|
|
| |
implementation (toward radar 7547942).
llvm-svn: 96479
|
| |
|
|
|
|
|
|
| |
those declared in it. This is to allow duplicate
property diagnostics for properties declared in class extensions
multiple times (radar 7629420) and for future use.
llvm-svn: 96276
|
| |
|
|
|
|
|
| |
a qualified objective-c pointer type. Fixes radar 7638810.
(Also removes a FIXME).
llvm-svn: 96003
|
| |
|
|
|
|
| |
using property dot-syntax. Fixes radar 7628953.
llvm-svn: 95838
|
| |
|
|
|
|
| |
I don't have time to refix it for now.
llvm-svn: 95733
|
| |
|
|
|
|
| |
(radar 7381956).
llvm-svn: 95695
|
| |
|
|
|
|
|
|
|
| |
attribute properly and avoid bogus warning. This is
an objective-c fix only. objective-c++ follows different code
pass and requires separate fix (which will come at a later time).
Fixes radar 7214820.
llvm-svn: 95571
|
| |
|
|
| |
llvm-svn: 95348
|
| |
|
|
| |
llvm-svn: 95108
|
| |
|
|
| |
llvm-svn: 94865
|
| |
|
|
|
|
|
|
|
| |
checking. It passes all existing tests, and the diagnostics have been
refined to provide better range information (we now highlight
individual format specifiers) and more precise wording in the
diagnostics.
llvm-svn: 94837
|
| |
|
|
| |
llvm-svn: 94326
|
| |
|
|
|
|
| |
to mimic gcc's behavior. Fixes radar 7400691.
llvm-svn: 94246
|
| |
|
|
|
|
|
|
| |
category implementation when some implementations
are missing in the primary class implementation.
(fixes radar 6505200).
llvm-svn: 94014
|
| |
|
|
|
|
| |
properties imported frfom protocol. Fixes radar 7544809.
llvm-svn: 93965
|
| |
|
|
| |
llvm-svn: 93887
|
| |
|
|
|
|
|
| |
property dot-syntax notation to use setter/getters in objective-c.
Fixes radar 7553050.
llvm-svn: 93883
|
| |
|
|
|
|
| |
ivar name lookup. Fixes pr5986.
llvm-svn: 93271
|
| |
|
|
| |
llvm-svn: 93072
|
| |
|
|
|
|
|
| |
pointing to the declaration that we found that has that name (if it is
unique).
llvm-svn: 92877
|
| |
|
|
|
|
|
|
|
|
| |
corresponding @interface, provide a note showing which interface we're
referring to. This note has the fix-it hint on it.
Also, don't automatically apply fix-it hints for notes. They're meant
to express fix-its that would change semantics.
llvm-svn: 92870
|
| |
|
|
|
|
|
| |
continuation classes and its original declaration
is imported from a protocol. This fixes radar 7509234.
llvm-svn: 92856
|
| |
|
|
|
|
| |
for a 'readonly' property. Fixes radar 7427072.
llvm-svn: 92808
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interface, suggest correction of typos. For example, given:
@interface NSString
@end
@implementation NSstring
@end
we'll warn with:
t.m:4:19: warning: cannot find interface declaration for 'NSstring';
did you mean 'NSString'?
@implementation NSstring
^
However, since this is just a warning, we don't provide a fix-it
hint. Good idea, Ted!
llvm-svn: 92488
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
constructs:
- Instance variable lookup ("foo->ivar" and, in instance methods, "ivar")
- Property name lookup ("foo.prop")
- Superclasses
- Various places where a class name is required
- Protocol names (e.g., id<proto>)
This seems to cover many of the common places where typos could occur.
llvm-svn: 92449
|
| |
|
|
|
|
| |
not alias driver/backend option.
llvm-svn: 91671
|
| |
|
|
|
|
| |
PR5809
llvm-svn: 91575
|
| |
|
|
|
|
|
|
| |
declarations of abort(), and two, we mark it noreturn. Missing the latter
shows up in one of the "embarassing" tests (from the thread on llvmdev
"detailed comparison of generated code size for LLVM and other compilers").
llvm-svn: 91515
|
| |
|
|
|
|
| |
using objective-c property. (fixes radar 7449707)
llvm-svn: 91474
|
| |
|
|
|
|
|
|
|
| |
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
|
| |
|
|
| |
llvm-svn: 91297
|
| |
|
|
|
|
| |
Still some refactoring to do.
llvm-svn: 90830
|
| |
|
|
|
|
| |
(fixes radar 7447251).
llvm-svn: 90795
|
| |
|
|
|
|
| |
(fixes radar 7442244).
llvm-svn: 90773
|
| |
|
|
|
|
| |
subsequent code which depends on a complete type does the right thing.
llvm-svn: 90727
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into pretty much everything about overload resolution in order to wean
BuildDeclarationNameExpr off LookupResult::getAsSingleDecl(). Replace
UnresolvedFunctionNameExpr with UnresolvedLookupExpr, which generalizes the
idea of a non-member lookup that we haven't totally resolved yet, whether by
overloading, argument-dependent lookup, or (eventually) the presence of
a function template in the lookup results.
Incidentally fixes a problem with argument-dependent lookup where we were
still performing ADL even when the lookup results contained something from
a block scope.
Incidentally improves a diagnostic when using an ObjC ivar from a class method.
This just fell out from rewriting BuildDeclarationNameExpr's interaction with
lookup, and I'm too apathetic to break it out.
The only remaining uses of OverloadedFunctionDecl that I know of are in
TemplateName and MemberExpr.
llvm-svn: 89544
|
| |
|
|
| |
llvm-svn: 89498
|
| |
|
|
|
|
| |
(radar 7409165).
llvm-svn: 89400
|
| |
|
|
|
|
| |
Will do it later. Fixes pr5552.
llvm-svn: 89269
|
| |
|
|
|
|
|
|
| |
implementation mismatch in their qualifiers only.
This will match similar behavior in c/c++ and
fixes radar 7211653.
llvm-svn: 89220
|