#
191ffd35 |
| 12-Sep-2012 |
Ted Kremenek <kremenek@apple.com> |
Revert "objective-C: warn under a flag if missing argument"
We plan on discussing this more, but we shouldn't have it in the compiler in an incomplete state.
llvm-svn: 163720
|
#
632a6432 |
| 12-Sep-2012 |
Ted Kremenek <kremenek@apple.com> |
Revert "objective-C: warn if selector has nothing but bare"
We plan on discussing this more.
llvm-svn: 163719
|
#
822ab6b2 |
| 11-Sep-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: warn if selector has nothing but bare ':' in its name. // rdar://8366823
llvm-svn: 163650
|
#
66d2e887 |
| 11-Sep-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: warn under a flag if missing argument name results in unintended selector name. // rdar://12263549
llvm-svn: 163634
|
#
f0623438 |
| 23-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove ASTOwningVector, it doesn't own anything and provides no value over SmallVector.
llvm-svn: 162492
|
#
62b95d88 |
| 23-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Rip out remnants of move semantic emulation and smart pointers in Sema.
These were nops for quite a while and only lead to confusion. ASTMultiPtr now behaves like a proper dumb array reference.
llv
Rip out remnants of move semantic emulation and smart pointers in Sema.
These were nops for quite a while and only lead to confusion. ASTMultiPtr now behaves like a proper dumb array reference.
llvm-svn: 162475
show more ...
|
#
f64b4722 |
| 10-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C++: dalyed parsing of ctors with member initializer list defined inside an objc class implementation. wip
llvm-svn: 161699
|
#
053227f8 |
| 10-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C++: delay parsing of ctor with try block with member initializer list defined inside an objc implementation block. wip.
llvm-svn: 161692
|
#
8cecfe9f |
| 10-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C++: delayed parsing of member function with function-try-block occuring in objc's implementation block. wip.
llvm-svn: 161675
|
#
656b5a09 |
| 09-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: refactoring of objc's delayed parsing.
llvm-svn: 161620
|
#
db5743d1 |
| 09-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: minor refactoring in method definition parsing logic.
llvm-svn: 161593
|
#
934dbbfa |
| 08-Aug-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Minor simplification for r161534.
llvm-svn: 161544
|
#
18d0a5d5 |
| 08-Aug-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: refactor/simplify parsing of delayed method/c-funcs defined in objc class implementation. No intended functionality change.
llvm-svn: 161540
|
#
ac4e36d1 |
| 08-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR13558: Fix typo 'compatiblity'. Thinking of the children. Apparently.
llvm-svn: 161537
|
#
89b1f2c7 |
| 08-Aug-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Handle deprecation diagnostics correctly for C struct fields and Objective-C properties/ivars. <rdar://problem/6642337>.
llvm-svn: 161534
|
#
a5fc75f4 |
| 26-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c parsing. Don't crash when selector name is missing in method prototype. // rdar://11939584
llvm-svn: 160789
|
#
05d0d447 |
| 09-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: provide fixit hint for @autoreleasepool and similar other keywords. // rdar://10723084
llvm-svn: 159956
|
#
577574ab |
| 02-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: just as we have done for method definitions, c-functions declared in implementation should have their parsing delayed until the end so, they can access forward declared private methods.
objective-c: just as we have done for method definitions, c-functions declared in implementation should have their parsing delayed until the end so, they can access forward declared private methods. // rdar://10387088
llvm-svn: 159626
show more ...
|
#
6aa9beef |
| 23-Jun-2012 |
Alexis Hunt <alercah@gmail.com> |
Clean up a large number of C++11 attribute parse issues, including parsing attributes in more places where we didn't and catching a lot more issues.
This implements nearly every aspect of C++11 attr
Clean up a large number of C++11 attribute parse issues, including parsing attributes in more places where we didn't and catching a lot more issues.
This implements nearly every aspect of C++11 attribute parsing, except for: - Attributes are permitted on explicit instantiations inside the declarator (but not preceding the decl-spec) - Attributes are permitted on friend declarations of functions. - Multiple instances of the same attribute in an attribute-list (e.g. [[noreturn, noreturn]], not [[noreturn]] [[noreturn]] which is conforming) are allowed. The first two are marked as expected-FIXME in the test file and the latter is probably a defect and is currently untested.
Thanks to Richard Smith for providing the lion's share of the testcases.
llvm-svn: 159072
show more ...
|
#
45337f53 |
| 21-Jun-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: deprecated C-like parameters in Objective-C method declarations. // rdar://11578353.
llvm-svn: 158929
|
#
237c7d33 |
| 15-Jun-2012 |
Kaelyn Uhrain <rikka@google.com> |
Move isCXXSimpleTypeSpecifier from Parser to Sema and tweak it for wider use.
llvm-svn: 158572
|
#
1355bd17 |
| 11-Jun-2012 |
James Dennett <jdennett@google.com> |
Documentation cleanup, fixing Doxygen markup. Mostly this avoids common terms such as "protocol" and "expression" being implicitly turned into links to mistakenly-generated Doxygen pages: - Escaping
Documentation cleanup, fixing Doxygen markup. Mostly this avoids common terms such as "protocol" and "expression" being implicitly turned into links to mistakenly-generated Doxygen pages: - Escaping @ symbols when Doxygen would otherwise incorrectly interpret them; - Escaping # symbols when they're not intended as explicit Doxygen link requests, such as when discussing preprocessor directives; - In one odd case, unescaping @ in @__experimental_modules_import, because Doxygen wrote '\@' to the output in that case, causing the example in the description of ImportDecl to be wrong; and - Fixing a typo: @breif -> @brief.
llvm-svn: 158299
show more ...
|
#
b6499eb6 |
| 29-May-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objc: position of 'fixit' was off by one. This patch fixes it. // rdar://11488351
llvm-svn: 157646
|
#
945b2f46 |
| 21-May-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: provide a useful 'fixit' suggestion when errornously using commas to separate ObjC message arguments. // rdar://11376372
llvm-svn: 157216
|
#
2f7dc46a |
| 16-May-2012 |
Richard Trieu <rtrieu@google.com> |
Move the warnings for extra semi-colons under -Wextra-semi. Also, added a warning for an extra semi-colon after function definitions. Added logic so that a block of semi-colons on a line will only
Move the warnings for extra semi-colons under -Wextra-semi. Also, added a warning for an extra semi-colon after function definitions. Added logic so that a block of semi-colons on a line will only get one warning instead of a warning for each semi-colon.
llvm-svn: 156934
show more ...
|