| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Clients of Sema don't need to know (for example) the list of diagnostics we
support.
llvm-svn: 112093
|
| |
|
|
|
|
| |
to the new constants.
llvm-svn: 112047
|
| |
|
|
|
|
| |
http://llvm.org/PR7923.
llvm-svn: 112045
|
| |
|
|
| |
llvm-svn: 112044
|
| |
|
|
|
|
| |
functionality changed.
llvm-svn: 112040
|
| |
|
|
| |
llvm-svn: 112038
|
| |
|
|
| |
llvm-svn: 112027
|
| |
|
|
|
|
|
|
| |
only form pointers-to-member if the expression has the appropriate
form. This avoids assertions later on on invalid code, but also
allows us to properly resolve mixed-staticity overloads.
llvm-svn: 111987
|
| |
|
|
|
|
| |
register variable (c++03 7.1.1P3). radar 8108252.
llvm-svn: 111977
|
| |
|
|
| |
llvm-svn: 111904
|
| |
|
|
|
|
|
| |
M-x query-replace-regexp
\(Sema::\|Action::\|Parser::\|\)Owning\(Expr\|Stmt\)Result -> \2Result
llvm-svn: 111903
|
| |
|
|
| |
llvm-svn: 111901
|
| |
|
|
|
|
| |
UnresolvedMemberExpr.
llvm-svn: 111899
|
| |
|
|
| |
llvm-svn: 111863
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
constructors. We perform semantic checking when creating the definition, and
this isn't needed in certain contexts (value initialization) but is in others
(default initialization). This fixes PR7948.
We add explicit code to the default initialization path to ensure the
definition is both present and valid.
Doug, please review. I think this follows your latest suggestion, and it ended
up remarkably cleaner than I anticipated. Also let me know if similar logic
should be followed for destructors and copy-constructors.
llvm-svn: 111802
|
| |
|
|
|
|
| |
through the parser.
llvm-svn: 111800
|
| |
|
|
| |
llvm-svn: 111795
|
| |
|
|
| |
llvm-svn: 111768
|
| |
|
|
| |
llvm-svn: 111733
|
| |
|
|
| |
llvm-svn: 111675
|
| |
|
|
|
|
|
|
|
| |
- move DeclSpec &c into the Sema library
- move ParseAST into the Parse library
Reflect this change in a thousand different includes.
Reflect this change in the link orders.
llvm-svn: 111667
|
| |
|
|
|
|
|
| |
non-fragile abi mode as sizes are not statically known.
Fixes radar 8315734.
llvm-svn: 111191
|
| |
|
|
|
|
|
|
| |
(nonfragile-abi2), do not consider 'ivar' access
in class methods. Also, improve on diagnostics.
Radar 8304561.
llvm-svn: 111023
|
| |
|
|
| |
llvm-svn: 110996
|
| |
|
|
|
|
|
|
| |
from GCC's in that we warn on *any* increase in alignment requirements, not
just those that are enforced by hardware. Please let us know if this causes
major problems for you (which it shouldn't, since it's an optional warning).
llvm-svn: 110959
|
| |
|
|
| |
llvm-svn: 110945
|
| |
|
|
| |
llvm-svn: 110860
|
| |
|
|
| |
llvm-svn: 110807
|
| |
|
|
| |
llvm-svn: 110666
|
| |
|
|
| |
llvm-svn: 110663
|
| |
|
|
|
|
| |
sure to clear out the LookupResult structure after looking into each class.
llvm-svn: 110615
|
| |
|
|
|
|
| |
conversions. Fixes PR7443.
llvm-svn: 110519
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This takes some trickery since CastExpr has subclasses (and indeed,
is abstract).
Also, smoosh the CastKind into the bitfield from Expr.
Drops two words of storage from Expr in the common case of expressions
which don't need inheritance paths. Avoids a separate allocation and
another word of overhead in cases needing inheritance paths. Also has
the advantage of not leaking memory, since destructors for AST nodes are
never run.
llvm-svn: 110507
|
| |
|
|
|
|
|
| |
dependent in ActOnIdExpression. (This issue only shows up with member
operators because an operator is never a type.)
llvm-svn: 110486
|
| |
|
|
|
|
| |
vectors, from Anton Yartsev!
llvm-svn: 110437
|
| |
|
|
|
|
|
|
| |
this breaks something.
I'll wait a few days before cleaning out UnaryOperator::OffsetOf.
llvm-svn: 110328
|
| |
|
|
|
|
| |
offsetof expressions.
llvm-svn: 110327
|
| |
|
|
|
|
|
|
| |
the else clause. The problem is that it's overly zealous and will respond to
uses in assignments, or after assignments. We should bring this back once we
can do it right. Fixes PR7100.
llvm-svn: 110314
|
| |
|
|
|
|
|
| |
auto-synthesized (nonfragile-abi2 specific).
Fixes radar 8251648.
llvm-svn: 109866
|
| |
|
|
|
|
|
| |
variables to those in file scope (nonfragile-abi2).
Fixes radar 8248681.
llvm-svn: 109758
|
| |
|
|
|
|
|
| |
one because we're referencing a variable of type NSString &), the
resulting type is an ObjCObjectPointerType.
llvm-svn: 109753
|
| |
|
|
|
|
| |
qualified name. Fixes <rdar://problem/8231724>.
llvm-svn: 109682
|
| |
|
|
| |
llvm-svn: 109537
|
| |
|
|
| |
llvm-svn: 109532
|
| |
|
|
|
|
| |
since we aren't going to be calling them ever.
llvm-svn: 109377
|
| |
|
|
|
|
|
|
|
| |
when the RHS of the ||/&& is ever 0 or 1. This handles a variety of
creative idioms for "true" used in C programs and fixes many false
positives at the expense of a few false negatives. This fixes
rdar://8230351.
llvm-svn: 109314
|
| |
|
|
|
|
| |
Radar 8218839.
llvm-svn: 109272
|
| |
|
|
|
|
|
|
|
|
|
| |
them as such. Type::is(Signed|Unsigned|)IntegerType() now return false
for vector types, and new functions
has(Signed|Unsigned|)IntegerRepresentation() cover integer types and
vector-of-integer types. This fixes a bunch of latent bugs.
Patch from Anton Yartsev!
llvm-svn: 109229
|
| |
|
|
|
|
|
| |
of same name. In nonfragile-abi2, lookup accesses a synthesized
ivar. This is a transition warning. Radar 8225011.
llvm-svn: 109197
|
| |
|
|
|
|
|
|
|
|
|
|
| |
behavior. Note that
GCC emits a warning instead of an error when using an unavailable Objective-C protocol, so now
Clang's behavior is more strict in this case, but more consistent. We will need to see how much
this fires on real code and determine whether this case should be downgraded to a warning.
Fixes <rdar://problem/8213093>.
llvm-svn: 109033
|