| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
methods. wip.
llvm-svn: 100734
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
definitions, e.g., after
-
or
- (id)
we'll find all of the "likely" instance methods that one would want to
declare or define at this point. In the latter case, we only produce
results whose return types match "id".
llvm-svn: 100587
|
| |
|
|
|
|
| |
declared in categories.
llvm-svn: 100577
|
| |
|
|
|
|
| |
when parsing. Fixes radar 7822196.
llvm-svn: 100248
|
| |
|
|
|
|
| |
ares are not separated by ':' (radar 7030268).
llvm-svn: 100040
|
| |
|
|
|
|
| |
the C-only "optimization".
llvm-svn: 100022
|
| |
|
|
| |
llvm-svn: 100018
|
| |
|
|
|
|
|
| |
term "fix-it" everywhere and even *I* get tired of long names
sometimes. No functionality change.
llvm-svn: 100008
|
| |
|
|
|
|
| |
implementations (radar 7547942).
llvm-svn: 99198
|
| |
|
|
|
|
| |
<rdar://problem/7735566>.
llvm-svn: 98613
|
| |
|
|
| |
llvm-svn: 96819
|
| |
|
|
|
|
|
| |
before the selector name (but after the return type). Among other things,
this allows IBAction to be implemented with an attribute.
llvm-svn: 96623
|
| |
|
|
|
|
| |
(radar 7647953).
llvm-svn: 96284
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we would just leak them all over the place, with no clear ownership of
these objects at all. AttributeList objects would get leaked on both
error and non-error paths.
Note: I introduced the usage of llvm::OwningPtr<AttributeList> to
manage these objects, which is particularly useful for methods with
multiple return sites. In at least one method I used them even when
they weren't strictly necessary because it clarified the ownership
semantics and made the code easier to read. Should the excessive
'take()' and 'reset()' calls become a performance issue we can always
re-evaluate.
Note+1: I believe I have not introduced any double-frees, but it would
be nice for someone to review this.
This fixes <rdar://problem/7635046>.
llvm-svn: 95847
|
| |
|
|
|
|
| |
(per Doug's comment).
llvm-svn: 95169
|
| |
|
|
|
|
| |
declaration. Fixes radar 7590273.
llvm-svn: 95164
|
| |
|
|
|
|
|
|
| |
Objective-C classes, protocol definitions, forward protocol
declarations, and categories. This information isn't actually used
yet; that's coming next.
llvm-svn: 93636
|
| |
|
|
| |
llvm-svn: 93361
|
| |
|
|
|
|
|
|
|
|
|
| |
provide completions for @ keywords. Previously, we only provided
@-completions after an @ was actually typed, which is useful but
probably not the common case.
Also, make sure a few Objective-C 2.0 completions only show up when
Objective-C 2.0 support is enabled (the default).
llvm-svn: 93354
|
| |
|
|
|
|
|
|
|
|
|
| |
piece of the declaration. The '@' and the 'end' are separate tokens,
and require two SourceLocations to accurately track.
This change was motivated because ObjCContainerDecl::getSourceRange()
would previously not return the entire range of the declaration (the
'end' would be left off).
llvm-svn: 92891
|
| |
|
|
|
|
| |
Action::FullExpr to Action::MakeFullExpr to avoid name clashes.
llvm-svn: 91494
|
| |
|
|
| |
llvm-svn: 90769
|
| |
|
|
| |
llvm-svn: 90757
|
| |
|
|
| |
llvm-svn: 90756
|
| |
|
|
| |
llvm-svn: 90710
|
| |
|
|
|
|
|
| |
Make it an inner class of Parser to assuage access control.
No functionality change.
llvm-svn: 90491
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following attributes are currently supported in C++0x attribute
lists (and in GNU ones as well):
- align() - semantics believed to be conformant to n3000, except for
redeclarations and what entities it may apply to
- final - semantics believed to be conformant to CWG issue 817's proposed
wording, except for redeclarations
- noreturn - semantics believed to be conformant to n3000, except for
redeclarations
- carries_dependency - currently ignored (this is an optimization hint)
llvm-svn: 89543
|
| |
|
|
|
|
| |
"getter = ", to provide suitable method names.
llvm-svn: 89334
|
| |
|
|
|
|
|
|
|
|
|
| |
provide completion results before each keyword argument, e.g.,
[foo Method:arg WithArg1:arg1 WithArg2:arg2]
We now complete before "WithArg1" and before "WithArg2", in addition
to completing before "Method".
llvm-svn: 89290
|
| |
|
|
|
|
| |
change.
llvm-svn: 89267
|
| |
|
|
| |
llvm-svn: 89265
|
| |
|
|
| |
llvm-svn: 89259
|
| |
|
|
| |
llvm-svn: 89227
|
| |
|
|
|
|
| |
and @implementation declarations.
llvm-svn: 89223
|
| |
|
|
|
|
|
| |
@implementation, and in the declaration of the superclass of an
@interface.
llvm-svn: 89207
|
| |
|
|
|
|
| |
properties
llvm-svn: 89196
|
| |
|
|
| |
llvm-svn: 89194
|
| |
|
|
|
|
| |
referring to message sends
llvm-svn: 89164
|
| |
|
|
|
|
| |
Action::ActOnForwardClassDeclaration().
llvm-svn: 89162
|
| |
|
|
| |
llvm-svn: 89107
|
| |
|
|
|
|
|
|
| |
gracefully, on par with gcc, by: Issuing a warning,
doing final sematinc check of its definitions and generating
its meta-data.
llvm-svn: 88934
|
| |
|
|
| |
llvm-svn: 86746
|
| |
|
|
|
|
| |
<rdar://problem/7381735>.
llvm-svn: 86731
|
| |
|
|
|
|
| |
Still a work in progress...
llvm-svn: 86323
|
| |
|
|
|
|
| |
(radar 7370882).
llvm-svn: 86291
|
| |
|
|
| |
llvm-svn: 86240
|
| |
|
|
|
|
|
|
|
|
|
|
| |
appears in a deprecated context. In the new strategy, we emit the warnings
as usual unless we're currently parsing a declaration, where "declaration" is
restricted to mean a decl group or a few special cases in Objective C. If
we *are* parsing a declaration, we queue up the deprecation warnings until
the declaration has been completely parsed, and then emit them only if the
decl is not deprecated.
We also standardize the bookkeeping for deprecation so as to avoid special cases.
llvm-svn: 85998
|
| |
|
|
|
|
| |
it easier to track within Sema whether the parser is parsing a declaration.
llvm-svn: 85855
|
| |
|
|
|
|
|
| |
Fixes
<rdar://problem/7308503> clang should disallow the trailing semicolon in method definitions
llvm-svn: 84645
|
| |
|
|
| |
llvm-svn: 84436
|