| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
declaration should be local to an if/switch/while/for statement.
llvm-svn: 56134
|
| |
|
|
| |
llvm-svn: 56095
|
| |
|
|
| |
llvm-svn: 56090
|
| |
|
|
|
|
|
|
| |
post:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-September/002721.html
llvm-svn: 56081
|
| |
|
|
|
|
|
|
| |
-Scoping in C99 works good for C++ too, remove the C++-specific comments.
If someone thinks that the C++-specific comments are necessary for clarification, let me know and I'll put them back on.
llvm-svn: 56078
|
| |
|
|
| |
llvm-svn: 56060
|
| |
|
|
|
|
|
|
| |
selection-statements and iteration-statements (if/switch/while/for).
Add new 'ActOnCXXConditionDeclarationExpr' action, called when the 'condition' is a declaration instead of an expression.
llvm-svn: 56007
|
| |
|
|
| |
llvm-svn: 55888
|
| |
|
|
| |
llvm-svn: 55833
|
| |
|
|
|
|
| |
Parser support for blocks is almost complete...just need to add support for the __block() storage class qualifier.
llvm-svn: 55495
|
| |
|
|
|
|
| |
blocks.
llvm-svn: 55468
|
| |
|
|
|
|
| |
This commit adds the declaration syntax (and associated type).
llvm-svn: 55417
|
| |
|
|
|
|
|
| |
- Also, fix Parser to construct proper SetterName selector (should be
lifted out of parser though).
llvm-svn: 55352
|
| |
|
|
| |
llvm-svn: 55284
|
| |
|
|
|
|
| |
SourceRange.
llvm-svn: 55283
|
| |
|
|
| |
llvm-svn: 55269
|
| |
|
|
| |
llvm-svn: 55253
|
| |
|
|
| |
llvm-svn: 55222
|
| |
|
|
| |
llvm-svn: 55218
|
| |
|
|
| |
llvm-svn: 55217
|
| |
|
|
| |
llvm-svn: 55216
|
| |
|
|
|
|
|
| |
make diagnostic output in some other malformed cases significantly
more useful. This fixes PR2708
llvm-svn: 55215
|
| |
|
|
|
|
|
|
|
|
| |
-The Parser calls a new "ActOnCXXTypeConstructExpr" action.
-Sema, depending on the type and expressions number:
-If the type is a class, it will treat it as a class constructor. [TODO]
-If there's only one expression (i.e. "int(0.5)" ), creates a new "CXXFunctionalCastExpr" Expr node
-If there are no expressions (i.e "int()" ), creates a new "CXXZeroInitValueExpr" Expr node.
llvm-svn: 55177
|
| |
|
|
| |
llvm-svn: 55082
|
| |
|
|
|
|
| |
Chris.
llvm-svn: 54952
|
| |
|
|
|
|
| |
be re-used.
llvm-svn: 54851
|
| |
|
|
| |
llvm-svn: 54850
|
| |
|
|
|
|
|
|
| |
ParseCastExpression.
No functionality change, this follows the convention of how postfix-expressions are handled.
llvm-svn: 54849
|
| |
|
|
|
|
| |
finishes.
llvm-svn: 54840
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added as private members for each because it is not clear where to
put the common definition. Perhaps the IdentifierInfos all of these
"pseudo-keywords" should be collected into one place (this would
KnownFunctionIDs and Objective-C property IDs, for example).
Remove Token::isNamedIdentifier.
- There isn't a good reason to use strcmp when we have interned
strings, and there isn't a good reason to encourage clients to do
so.
llvm-svn: 54794
|
| |
|
|
|
|
|
|
|
|
|
| |
- Kill unnecessary #includes in .cpp files. This is an automatic
sweep so some things removed are actually used, but happen to be
included by a previous header. I tried to get rid of the obvious
examples and this was the easiest way to trim the #includes in one
fell swoop.
- We now return to regularly scheduled development.
llvm-svn: 54632
|
| |
|
|
|
|
|
| |
- Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into
implementation .cpp
llvm-svn: 54626
|
| |
|
|
| |
llvm-svn: 54605
|
| |
|
|
| |
llvm-svn: 54585
|
| |
|
|
|
|
| |
it gets passed to ActOnFinishCXXMemberSpecification too.
llvm-svn: 54567
|
| |
|
|
|
|
| |
ActOnDeclarator.
llvm-svn: 54353
|
| |
|
|
| |
llvm-svn: 54340
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- ActOnDeclarator now takes an additional parameter which is the
AsmLabel if used. Its unfortunate that this bubbles up this high,
but we cannot just lump it in as an attribute without mistakenly
*accepting* it as an attribute.
- The actual asm-label itself is, however, encoded as an AsmLabelAttr
on the FunctionDecl.
- Slightly improved parser error recovery on malformed asm-labels.
- CodeGen support still missing...
llvm-svn: 54339
|
| |
|
|
|
|
| |
"the attached patch fixes some typos, 80 cols violations, etc. in comments."
llvm-svn: 54328
|
| |
|
|
|
|
|
|
| |
of DeclTy or void.
No functionality change.
llvm-svn: 54265
|
| |
|
|
|
|
|
| |
- Including possible priority argument
- In other news, the attribute parsing code really needs a cleanup
llvm-svn: 54257
|
| |
|
|
|
|
| |
last client of the old ParseObjCProtocolReferences, so it also removes it.
llvm-svn: 54094
|
| |
|
|
| |
llvm-svn: 54093
|
| |
|
|
|
|
|
| |
This temporarily duplicates ParseObjCProtocolReferences, but it
will be removed in the future.
llvm-svn: 54092
|
| |
|
|
| |
llvm-svn: 54091
|
| |
|
|
| |
llvm-svn: 54089
|
| |
|
|
| |
llvm-svn: 54088
|
| |
|
|
|
|
| |
clients allocate the memory and it delete it.
llvm-svn: 54087
|
| |
|
|
|
|
|
|
| |
1) reject stuff like "id<foo> short" and "<foo> short". 2) set
the declspec range correctly 3) only parse protocol qualifiers
when in objc mode.
llvm-svn: 54086
|
| |
|
|
|
|
|
|
| |
like "id<foo>". This 1) fixes an infinite loop in the parser on things
like "short<foo>" 2) emits a warning about this bogus construct and 3)
changes the testcase to be substantially reduced.
llvm-svn: 54082
|