Revision tags: llvmorg-3.3.0-rc1 |
|
#
d56a2622 |
| 29-Apr-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Fix a typo in a parse assert. Patch by Alex Denisov.
llvm-svn: 180712
|
#
46ed4d97 |
| 24-Apr-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C parsing [qoi]: Recover gracefully with good diagnostic when class implementation declaration adds protocol qualifier list. // rdar://12233858
llvm-svn: 180228
|
#
d5d6f3d5 |
| 18-Apr-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C++: Enable passing of modern C++11 style initialized temporaries to objc++ methods. // rdar://12788429
llvm-svn: 179818
|
#
507a5f8c |
| 18-Apr-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C parsing [qoi]: Provide good recovery when Objective-C dictionary literals has bad syntax for the separator. // rdar://10679157
llvm-svn: 179784
|
#
69a7914f |
| 04-Apr-2013 |
Nico Weber <nicolasweber@gmx.de> |
Make the ObjC attributes diagnostics a bit more informative.
llvm-svn: 178720
|
#
04e213b6 |
| 03-Apr-2013 |
Nico Weber <nicolasweber@gmx.de> |
Emit a nicer diagnostic for misplaced attributes on ObjC directives.
llvm-svn: 178670
|
#
c36633c4 |
| 27-Mar-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[Parser] Don't code-complete twice.
When we are consuming the current token just to enter a new token stream, we push the current token in the back of the stream so that we get it again.
Unfortunat
[Parser] Don't code-complete twice.
When we are consuming the current token just to enter a new token stream, we push the current token in the back of the stream so that we get it again.
Unfortunately this had the effect where if the current token is a code-completion one, we would code-complete once during consuming it and another time after the stream ended.
Fix this by making sure that, in this case, ConsumeAnyToken() will consume a code-completion token without invoking code-completion.
rdar://12842503
llvm-svn: 178199
show more ...
|
#
0b171939 |
| 20-Mar-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Do the error recovery for @end only. I am not sure how much we can improve for when a randon ObjC keyword is thrown into the ivar decl. block. // rdar://6854840
llvm-svn: 177553
|
#
089f39ec |
| 20-Mar-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C [qoi] more gracefull recovery when '}' is missing for the ivar declarations. // rdar://6854840
llvm-svn: 177549
|
#
1c5d4c54 |
| 19-Mar-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Objective-C [qoi]: Provide improved parse diagnostics when closing rbrace is missing in an ObjC class declaration. Can do beter than this, but it involves addition of overhead which will be present i
Objective-C [qoi]: Provide improved parse diagnostics when closing rbrace is missing in an ObjC class declaration. Can do beter than this, but it involves addition of overhead which will be present in correct code. // rdar://6854840
llvm-svn: 177435
show more ...
|
#
7a30dc53 |
| 21-Feb-2013 |
David Blaikie <dblaikie@gmail.com> |
Use None rather than Optional<T>() where possible.
llvm-svn: 175705
|
#
05785d16 |
| 20-Feb-2013 |
David Blaikie <dblaikie@gmail.com> |
Include llvm::Optional in clang/Basic/LLVM.h
Post-commit CR feedback from Jordan Rose regarding r175594.
llvm-svn: 175679
|
#
a7d03840 |
| 08-Feb-2013 |
Jordan Rose <jordan_rose@apple.com> |
Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.
Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation.
l
Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.
Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation.
llvm-svn: 174768
show more ...
|
#
e233fbfc |
| 28-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Finish semantic analysis for [[carries_dependency]] attribute.
This required plumbing through a new flag to determine whether a ParmVarDecl is actually a parameter of a function declaration (as oppo
Finish semantic analysis for [[carries_dependency]] attribute.
This required plumbing through a new flag to determine whether a ParmVarDecl is actually a parameter of a function declaration (as opposed to a function typedef etc, where the attribute is prohibited). Weirdly, this attribute (just like [[noreturn]]) cannot be applied to a function type, just to a function declaration (and its parameters).
llvm-svn: 173726
show more ...
|
#
02447d80 |
| 22-Jan-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objectiveC (take two): don't warn when in -Wselector mode and an unimplemented selector is consumed by "respondsToSelector:". // rdar://12938616
llvm-svn: 173179
|
#
60ccb9b2 |
| 21-Jan-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
objectiveC: don't warn when in -Wselector mode and an unimplemented selector is consumed by "respondsToSelector:". // rdar://12938616
llvm-svn: 173097
|
#
945f8d32 |
| 14-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Refactor to call ActOnFinishFullExpr on every full expression. Teach ActOnFinishFullExpr that some of its checks only apply to discarded-value expressions. This adds missing checks for unexpanded var
Refactor to call ActOnFinishFullExpr on every full expression. Teach ActOnFinishFullExpr that some of its checks only apply to discarded-value expressions. This adds missing checks for unexpanded variadic template parameter packs to a handful of constructs.
llvm-svn: 172485
show more ...
|
#
89645bc8 |
| 02-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
s/CXX0X/CXX11/g, except for __GNU_EXPERIMENTAL_CXX0X__, and update a few nearby 'C++0x' comments.
llvm-svn: 171372
|
#
a7c7e607 |
| 31-Dec-2012 |
Nico Weber <nicolasweber@gmx.de> |
Remove some remnants of OwningExprResult / OwningStmtResult.
These got deleted late 2010 during the Actions/Sema unification. No functionality change.
llvm-svn: 171269
|
Revision tags: llvmorg-3.2.0 |
|
#
7aa4a881 |
| 14-Dec-2012 |
Nico Weber <nicolasweber@gmx.de> |
Don't require a space between the two ">" in "vector<id<protocol>>" in objc++11.
C++11 allowed writing "vector<vector<int>>" without a space between the two ">". This change allows this for protocol
Don't require a space between the two ">" in "vector<id<protocol>>" in objc++11.
C++11 allowed writing "vector<vector<int>>" without a space between the two ">". This change allows this for protocols in template lists too in -std=c++11 mode, and improves the diagnostic in c++98 mode.
llvm-svn: 170223
show more ...
|
#
c50d4924 |
| 11-Dec-2012 |
Douglas Gregor <dgregor@apple.com> |
Use @import rather than @__experimental_modules_import, since the latter is rather a mess to type.
llvm-svn: 169919
|
Revision tags: llvmorg-3.2.0-rc3 |
|
#
3a02247d |
| 04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort all of Clang's files under 'lib', and fix up the broken headers uncovered.
This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/util
Sort all of Clang's files under 'lib', and fix up the broken headers uncovered.
This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files.
I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
show more ...
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1 |
|
#
84f49843 |
| 17-Sep-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: improve on warnings about misplacement of method argument names. // rdar://12263549
llvm-svn: 164077
|
#
f4ffdf35 |
| 17-Sep-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C: issue warning when there is no whitespace between objc method parameter name and colon. // rdar://12263549
llvm-svn: 164047
|
#
00bcdd31 |
| 12-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix a couple of Doxygen issues pointed out by -Wdocumentation.
llvm-svn: 163722
|