| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
rdar://problem/8535238
llvm-svn: 116663
|
| |
|
|
| |
llvm-svn: 116662
|
| |
|
|
|
|
|
|
| |
by marking the decl invalid isn't. Make some steps towards supporting these
and then hastily shut them down at the last second by marking them as
unsupported.
llvm-svn: 116661
|
| |
|
|
|
|
|
|
| |
objc_exception_rethrow, so we don't...", since something is actually trying to
call this with the wrong signature (!). Unfortunately I don't understand the new
EH infrastructure well enough to fix it immediately.
llvm-svn: 116660
|
| |
|
|
|
|
| |
generate unnecessary %al clear on x86_64.
llvm-svn: 116656
|
| |
|
|
|
|
| |
protocols. // rdar: //8558702
llvm-svn: 116652
|
| |
|
|
|
|
|
|
| |
flexible array member, so long as the flexibility array member is
either not initialized or is initialized with an empty initializer
list. Fixes <rdar://problem/8540437>.
llvm-svn: 116647
|
| |
|
|
|
|
|
|
| |
object is not referenced later in the path,
not that it isn't referenced later in the code. Fixes <rdar://problem/8527839>.
llvm-svn: 116636
|
| |
|
|
|
|
|
|
|
| |
find a copy constructor/assignment operator used
in getter/setter synthesis. This removes an unintended
diagnostics and makes objc++ consistant with objective-c.
// rdar: //8550657.
llvm-svn: 116631
|
| |
|
|
| |
llvm-svn: 116627
|
| |
|
|
| |
llvm-svn: 116624
|
| |
|
|
| |
llvm-svn: 116617
|
| |
|
|
|
|
| |
more consistent with other names, and to look less like a magic name.
llvm-svn: 116616
|
| |
|
|
| |
llvm-svn: 116615
|
| |
|
|
| |
llvm-svn: 116614
|
| |
|
|
| |
llvm-svn: 116613
|
| |
|
|
| |
llvm-svn: 116606
|
| |
|
|
| |
llvm-svn: 116605
|
| |
|
|
|
|
| |
AST node. (finishing off radar 8525788).
llvm-svn: 116603
|
| |
|
|
|
|
| |
QualifierInfos (rdar://8513756).
llvm-svn: 116598
|
| |
|
|
| |
llvm-svn: 116595
|
| |
|
|
| |
llvm-svn: 116593
|
| |
|
|
|
|
|
|
|
| |
we did was an acceptable lookup. If it is, then we can re-use that
lookup result. If it isn't, we have to perform the lookup again. This
is almost surely the cause behind the mysterious typo.m failures on
some builders; we were getting the wrong lookup results returned.
llvm-svn: 116586
|
| |
|
|
|
|
|
| |
typo correction prefers "super" over other, equivalent completions. I
believe this will fix the regression on the buildbot.
llvm-svn: 116574
|
| |
|
|
|
|
| |
as the class itself. Fixes PR7082.
llvm-svn: 116573
|
| |
|
|
| |
llvm-svn: 116570
|
| |
|
|
| |
llvm-svn: 116569
|
| |
|
|
|
|
| |
ambiguous context.
llvm-svn: 116567
|
| |
|
|
|
|
| |
initialized. Fixes PR7076.
llvm-svn: 116553
|
| |
|
|
|
|
| |
list, complain about it! Fixes PR7053.
llvm-svn: 116551
|
| |
|
|
|
|
| |
types, from Alp Toker! Fixes PR8344.
llvm-svn: 116549
|
| |
|
|
| |
llvm-svn: 116548
|
| |
|
|
| |
llvm-svn: 116544
|
| |
|
|
|
|
| |
Also, handle unknown types conservatively.
llvm-svn: 116541
|
| |
|
|
|
|
| |
its RHS is an ivar. Fixes //rdar: //8541517.
llvm-svn: 116539
|
| |
|
|
|
|
|
| |
This enables metadata generation by default, however the TBAA pass
in the optimizer is still disabled for now.
llvm-svn: 116536
|
| |
|
|
|
|
|
|
| |
class, for AT_containing_type.
This is tested by virtfunc.exp in gdb testsuite.
llvm-svn: 116535
|
| |
|
|
|
|
| |
to CodeGenOption flags.
llvm-svn: 116530
|
| |
|
|
| |
llvm-svn: 116529
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
identifiers to determine good typo-correction candidates. Once we've
identified those candidates, we perform name lookup on each of them
and the consider the results.
This optimization makes typo correction > 2x faster on a benchmark
example using a single typo (NSstring) in a tiny file that includes
Cocoa.h from a precompiled header, since we are deserializing far less
information now during typo correction.
There is a semantic change here, which is interesting. The presence of
a similarly-named entity that is not visible can now affect typo
correction. This is both good (you won't get weird corrections if the
thing you wanted isn't in scope) and bad (you won't get good
corrections if there is a similarly-named-but-completely-unrelated
thing). Time will tell whether it was a good choice or not.
llvm-svn: 116528
|
| |
|
|
| |
llvm-svn: 116527
|
| |
|
|
| |
llvm-svn: 116524
|
| |
|
|
| |
llvm-svn: 116519
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
solely based on the names it sees, rather than actual declarations it
gets. In essence, we determine the set of names that are "close
enough" to the typo'd name. Then, we perform name lookup for each of
those names, filtering out those that aren't actually visible, and
typo-correct from the remaining results.
Overall, there isn't much of a change in the behavior of typo
correction here. The only test-suite change comes from the fact that
we make good on our promise to require that the user type 3 characters
for each 1 character corrected.
The real intent behind this change is to set the stage for an
optimization to typo correction (so that we don't need to deserialize
all declarations in a translation unit) and future work in finding
missing qualification ("'vector' isn't in scope; did you mean
'std::vector'?). Plus, the code is cleaner this way.
llvm-svn: 116511
|
| |
|
|
|
|
|
|
| |
complete declaration context in order to compute it.
Progress for rdar://7260160.
llvm-svn: 116508
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
iterate over them,
instead of deserializing the complete declaration context of the record.
Iterating over the fields of a record is very common (e.g to determine the layout), unfortunately we needlessly deserialize every declaration
that the declaration context of the record contains; this can be bad for large C++ classes that contain a lot of methods.
Fix this by allow deserialization of just the fields when we want to iterate over them.
Progress for rdar://7260160.
llvm-svn: 116507
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 116506
|
| |
|
|
|
|
|
|
|
|
| |
accompanied by a name
and emits an error if a declaration with this name is deserialized from PCH.
This is for testing, to make sure that we don't deserialize stuff needlessly.
llvm-svn: 116505
|
| |
|
|
|
|
|
|
| |
should contain actual redeclarations, not implicits.
As a bonus, now we don't deserialize it unless we need it.
llvm-svn: 116504
|
| |
|
|
|
|
| |
print the PCH decls that got deserialized, for testing purposes.
llvm-svn: 116503
|