History log of /llvm-project/clang/lib/Parse/ParseObjc.cpp (Results 226 – 250 of 499)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f988785d 08-Dec-2011 Erik Verbruggen <erikjv@me.com>

Fix: allow @protocol forward declarations inside @implementation-s.

llvm-svn: 146147


# c6c8d935 06-Dec-2011 Erik Verbruggen <erikjv@me.com>

Extend warnings for missing '@end'.
Fixes PR2709.

llvm-svn: 145928


# 004685bd 29-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Fix leaking of LexedMethod objects created for caching objc method definitions tokens
for late parsing.

llvm-svn: 145394


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4
# 516eec2d 16-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[libclang] Fix crash on invalid code. Fixes rdar://10451854

llvm-svn: 144766


Revision tags: llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# e7a8e3b6 12-Oct-2011 Douglas Gregor <dgregor@apple.com>

Introduce BalancedDelimiterTracker, to better track open/close
delimiter pairs and detect when we exceed the implementation limit for
nesting depth, from Aaron Ballman!

llvm-svn: 141782


# 9321ad3f 06-Oct-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

When using an unavailable/deprecated interface Foo inside Foo's interface/implementation
don't emit unavailable errors.

llvm-svn: 141334


# dfd65706 03-Oct-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Pass from the parser the locations of selector identifiers when creating
objc method decls.

They are not stored in the AST yet.

llvm-svn: 140984


# f934ec8b 03-Oct-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Pass all the locations of the selector identifiers for a message expression from the parser.

They are not kept in the AST yet.

llvm-svn: 140982


# a55902bf 01-Oct-2011 John McCall <rjmccall@apple.com>

Parse attributes written in an ObjC method parameter type as
attributes on the parameter declaration.

llvm-svn: 140944


# 0c254a00 23-Sep-2011 Douglas Gregor <dgregor@apple.com>

Clean up parsing the category names in interfaces slightly, using
MatchRHSPunctuation appropriately and giving a useful source location
for the complaint about attributes being added to a category.

Clean up parsing the category names in interfaces slightly, using
MatchRHSPunctuation appropriately and giving a useful source location
for the complaint about attributes being added to a category.

llvm-svn: 140404

show more ...


# 83d382b1 23-Sep-2011 David Blaikie <dblaikie@gmail.com>

Switch assert(0/false) llvm_unreachable.

llvm-svn: 140367


# 751c558d 22-Sep-2011 David Blaikie <dblaikie@gmail.com>

ArrayRef-ifying the fields passed to Sema::ActOnFields

llvm-svn: 140293


# bab8a96f 08-Sep-2011 Douglas Gregor <dgregor@apple.com>

Implement the Objective-C 'instancetype' type, which is an alias of
'id' that can be used (only!) via a contextual keyword as the result
type of an Objective-C message send. 'instancetype' then gives

Implement the Objective-C 'instancetype' type, which is an alias of
'id' that can be used (only!) via a contextual keyword as the result
type of an Objective-C message send. 'instancetype' then gives the
method a related result type, which we have already been inferring for
a variety of methods (new, alloc, init, self, retain). Addresses
<rdar://problem/9267640>.

llvm-svn: 139275

show more ...


# 5cec2aea 04-Sep-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Support code-completion for C++ inline methods and ObjC buffering methods.

Previously we would cut off the source file buffer at the code-completion
point; this impeded code-completion inside C++ in

Support code-completion for C++ inline methods and ObjC buffering methods.

Previously we would cut off the source file buffer at the code-completion
point; this impeded code-completion inside C++ inline methods and,
recently, with buffering ObjC methods.

Have the code-completion inserted into the source buffer so that it can
be buffered along with a method body. When we actually hit the code-completion
point the cut-off lexing or parsing.

Fixes rdar://10056932&8319466

llvm-svn: 139086

show more ...


# 97d744be 31-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objective-c: this patch (re)introduces objective-c's default property
synthesis. This new feature is currently placed under
-fobjc-default-synthesize-properties option
and is off by default pending

objective-c: this patch (re)introduces objective-c's default property
synthesis. This new feature is currently placed under
-fobjc-default-synthesize-properties option
and is off by default pending further testing.
It will become the default feature soon.
// rdar://8843851

llvm-svn: 138913

show more ...


# bd0642fe 31-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objective-c - This patch buffers method implementations
and does the Sema on their body after the entire
class/category @implementation is seen. This change allows messaging
of forward private met

objective-c - This patch buffers method implementations
and does the Sema on their body after the entire
class/category @implementation is seen. This change allows messaging
of forward private methods, as well as, access to
synthesized ivars of properties with foward synthesize
declarations; among others. In effect, this patch removes
several restrictions placed on objective-c due to in-place
semantics processing of methods.
This is part of // rdar://8843851.

llvm-svn: 138865

show more ...


# 4327b326 29-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

Minor clean up of objc's decl context stuff.
No change in functionality.

llvm-svn: 138742


# 3a039e33 27-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objective-c: Treat top-level objective-c declarations
, such as list of forward @class decls, in a DeclGroup
node. Deal with its consequence throught clang. This
is in preparation for more Sema work

objective-c: Treat top-level objective-c declarations
, such as list of forward @class decls, in a DeclGroup
node. Deal with its consequence throught clang. This
is in preparation for more Sema work ahead. // rdar://8843851.
Feel free to reverse if it breaks something important
and I am unavailable.

llvm-svn: 138709

show more ...


# d8114f75 25-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

Reverse r138567 until a buildbot failure is investigated.

llvm-svn: 138584


# 73d5f67f 25-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objc -arse: Use DeclGroup for forward class declarations;
as in @class foo, bar. More cleanup to follow.

llvm-svn: 138567


# b66de9f3 22-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objc refactoring - minor clean up.

llvm-svn: 138276


# 4bf8262a 22-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objc - Simplify switing objc decl context by using
a context switching object.

llvm-svn: 138248


# 8d382dc7 22-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

Restore patch I reversed in r138040. Known buildbot
failures are resolved.

llvm-svn: 138234


# 9a3b269e 19-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

Revers r138040. Need to look at a few buildbot failures.

llvm-svn: 138049


# d6d866d6 19-Aug-2011 Fariborz Jahanian <fjahanian@apple.com>

objective-c: Bring objective-c handling of decl context
to modernity. Instead of passing down individual
context objects from parser to sema, establish decl
context in parser and have sema access cur

objective-c: Bring objective-c handling of decl context
to modernity. Instead of passing down individual
context objects from parser to sema, establish decl
context in parser and have sema access current context
as needed. I still need to take of Doug's comment for
minor cleanups.

llvm-svn: 138040

show more ...


12345678910>>...20