| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 150726
|
|
|
|
|
|
| |
part of class meta-data.
llvm-svn: 150714
|
|
|
|
|
|
| |
which attempted to rewrite the same meta-data twice.
llvm-svn: 150618
|
|
|
|
|
|
| |
meta-data.
llvm-svn: 150548
|
|
|
|
|
|
|
| |
metadata for protocol definitions used on
class qualifiers.
llvm-svn: 150498
|
|
|
|
| |
llvm-svn: 150490
|
|
|
|
| |
llvm-svn: 150415
|
|
|
|
| |
llvm-svn: 150413
|
|
|
|
|
|
| |
into a c-type which closely matches the objective-c type.
llvm-svn: 150406
|
|
|
|
| |
llvm-svn: 150353
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r149987 changed the way parsing happens inside an @implementation;
it aggregates the declarations inside and reports them together as a DeclGroup.
This had the side effect that function declarations were reported together with
their definition, while the rewriter expected for function declarations to be
reported immediately to the consumer and thus not have a body.
Fix this by having the rewriter actually check with isThisDeclarationADefinition()
to make sure the body comes from the current decl before rewriting it.
llvm-svn: 150325
|
|
|
|
|
|
| |
meta-data.
llvm-svn: 150310
|
|
|
|
| |
llvm-svn: 150281
|
|
|
|
| |
llvm-svn: 150275
|
|
|
|
| |
llvm-svn: 150212
|
|
|
|
|
|
| |
protocol definitions.
llvm-svn: 150106
|
|
|
|
|
|
| |
All protocol related metadata is close to completion.
llvm-svn: 150084
|
|
|
|
| |
llvm-svn: 150030
|
|
|
|
|
|
| |
for modern objc abi.
llvm-svn: 150011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operator overloads out of line.
This seems to negatively affect compile time onsome ObjC tests
(which use a lot of partial diagnostics I assume). I have to come
up with a way to keep them inline without including Diagnostic.h
everywhere. Now adding a new diagnostic requires a full rebuild
of e.g. the static analyzer which doesn't even use those diagnostics.
This reverts commit 6496bd10dc3a6d5e3266348f08b6e35f8184bc99.
This reverts commit 7af19b817ba964ac560b50c1ed6183235f699789.
This reverts commit fdd15602a42bbe26185978ef1e17019f6d969aa7.
This reverts commit 00bd44d5677783527d7517c1ffe45e4d75a0f56f.
This reverts commit ef9b60ffed980864a8db26ad30344be429e58ff5.
llvm-svn: 150006
|
|
|
|
| |
llvm-svn: 150002
|
|
|
|
|
|
| |
in objective-c rewriter. wip.
llvm-svn: 149989
|
|
|
|
|
|
|
| |
(I was going to fix the TODO about DenseMap too, but
that would break self-host right now. See PR11922.)
llvm-svn: 149799
|
|
|
|
| |
llvm-svn: 149798
|
|
|
|
|
|
|
|
| |
include.
Fix all the transitive include users.
llvm-svn: 149783
|
|
|
|
|
|
|
| |
- Move the offending methods out of line and fix transitive includers.
- This required changing an enum in the PPCallback API into an unsigned.
llvm-svn: 149782
|
|
|
|
|
|
| |
the original action.
llvm-svn: 149120
|
|
|
|
|
|
| |
BeginSourceFile().
llvm-svn: 149107
|
|
|
|
| |
llvm-svn: 149044
|
|
|
|
|
|
|
|
| |
with close(); return it instead.
Fixes mingw build and eliminates possible racing issues.
llvm-svn: 149043
|
|
|
|
| |
llvm-svn: 149041
|
|
|
|
| |
llvm-svn: 149035
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-fixit-recompile
applies fixits and recompiles the result
-fixit-to-temporary
applies fixits to temporary files
-fix-only-warnings">,
applies fixits for warnings only, not errors
Combining "-fixit-recompile -fixit-to-temporary" allows testing the result of fixits
without touching the original sources.
llvm-svn: 149027
|
|
|
|
| |
llvm-svn: 148567
|
|
|
|
|
|
| |
appropriate or when GCC requires it)
llvm-svn: 148292
|
|
|
|
|
|
|
|
|
|
| |
was constructed, e.g. for a property access.
This allows the selector identifier locations machinery for ObjCMessageExpr
to function correctly, in that there are not real locations to handle/report for
such a message.
llvm-svn: 148013
|
|
|
|
| |
llvm-svn: 147678
|
|
|
|
| |
llvm-svn: 147421
|
|
|
|
|
|
| |
ObjCProtocolDecl modules forward declarations properly.
llvm-svn: 147415
|
|
|
|
|
|
|
|
|
| |
separately-allocated DefinitionData structure. Introduce various
functions that will help with the separation of declarations from
definitions (isThisDeclarationADefinition(), hasDefinition(),
getDefinition()).
llvm-svn: 147408
|
|
|
|
|
|
|
| |
getCanonicalDecl() when putting ObjCProtocolDecls into a set. This is
groundwork for making ObjCProtocolDecl redeclarable.
llvm-svn: 147406
|
|
|
|
|
|
|
| |
covers both declarations (@class) and definitions (@interface) of an
Objective-C class.
llvm-svn: 147299
|
|
|
|
|
|
|
| |
because of recent refactoring and one in the
rewriter.
llvm-svn: 147070
|
|
|
|
|
|
|
|
| |
applies to an actual definition. Plus, clarify the purpose of this
field and give the accessor a different name, since getLocEnd() is
supposed to be the same as getSourceRange().getEnd().
llvm-svn: 146694
|
|
|
|
|
|
|
|
|
|
| |
declarations and definitions) as ObjCInterfaceDecls within the same
redeclaration chain. This new representation matches what we do for
C/C++ variables/functions/classes/templates/etc., and makes it
possible to answer the query "where are all of the declarations of
this class?"
llvm-svn: 146679
|
|
|
|
|
|
|
|
| |
to declaresSameEntity(), as a baby step toward tracking forward
declarations of Objective-C classes precisely. Part of
<rdar://problem/10583531>.
llvm-svn: 146618
|
|
|
|
| |
llvm-svn: 146160
|
|
|
|
| |
llvm-svn: 145867
|
|
|
|
| |
llvm-svn: 145841
|
|
|
|
| |
llvm-svn: 145824
|