History log of /llvm-project/clang/lib/Sema/SemaCodeComplete.cpp (Results 676 – 700 of 748)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b3fa919c 18-Dec-2009 Douglas Gregor <dgregor@apple.com>

Extend code-completion results with the type of each result

llvm-svn: 91702


# 57500773 16-Dec-2009 John McCall <rjmccall@apple.com>

Shift things around so that it's easier to recover from a missing
function in a C++ call using an arbitrary call-expression type.
Actually exploit this to fix the recovery implemented earlier.

The d

Shift things around so that it's easier to recover from a missing
function in a C++ call using an arbitrary call-expression type.
Actually exploit this to fix the recovery implemented earlier.

The diagnostic is still iffy, though.

llvm-svn: 91538

show more ...


# 2f3da9b2 15-Dec-2009 Chris Lattner <sabre@nondot.org>

update to match LLVM API change:

Remove isPod() from DenseMapInfo, splitting it out to its own
isPodLike type trait. This is a generally useful type trait for
more than just DenseMap, and we really

update to match LLVM API change:

Remove isPod() from DenseMapInfo, splitting it out to its own
isPodLike type trait. This is a generally useful type trait for
more than just DenseMap, and we really care about whether something
acts like a pod, not whether it really is a pod.

llvm-svn: 91422

show more ...


# 1615d45d 12-Dec-2009 Jeffrey Yasskin <jyasskin@google.com>

Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave
no extra safety anyway.

llvm-svn: 91207


# 3ef59520 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

When code completion of an overload set fails, produce results for ordinary name lookup instead.

llvm-svn: 91141


# 0f622367 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

Add a function's cv-qualifiers to the code-completion results as an
informative chunk.

llvm-svn: 91139


# 800f2f0f 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

Teach code completion to instantiate templates when it needs to

llvm-svn: 91138


# 7078839b 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

Member function templates can occur after . or ->

llvm-svn: 91137


# 99fe2ad8 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

Tweak code-completion results by suppressing class template
specializations and class template partial specializations (they're
never named directly). Also, member access expressions only refer to
va

Tweak code-completion results by suppressing class template
specializations and class template partial specializations (they're
never named directly). Also, member access expressions only refer to
value declarations (fields, functions, enumerators, etc.) and
Objective-C property declarations; filter out everything else.

llvm-svn: 91133

show more ...


# 83c49b56 11-Dec-2009 Douglas Gregor <dgregor@apple.com>

Class template (partial) specializations should not show up in code completion results

llvm-svn: 91125


# 92253698 07-Dec-2009 Douglas Gregor <dgregor@apple.com>

When in an Objective-C instance method, super is a valid code-completion result

llvm-svn: 90758


# bc7c5e47 07-Dec-2009 Douglas Gregor <dgregor@apple.com>

Code completion for Objective-C @ keywords that are statements or expressions

llvm-svn: 90757


# f48706c7 07-Dec-2009 Douglas Gregor <dgregor@apple.com>

Code completion for Objective-C @ directives

llvm-svn: 90756


# 94bb5e8d 06-Dec-2009 Douglas Gregor <dgregor@apple.com>

PointerUnion == PointerUnion does not do what I thought it did. Also, fix a thinko in a PointerUnion::get call.

llvm-svn: 90719


# 05e7ca36 06-Dec-2009 Douglas Gregor <dgregor@apple.com>

Switch the std::multimap shadow map used in code completion to an
llvm::DenseMap, for a 20% performance improvement in the
Cocoa-big-list performance benchmark.

llvm-svn: 90715


# 4053e5db 05-Dec-2009 Benjamin Kramer <benny.kra@googlemail.com>

Avoid trashing two temporary strings.

llvm-svn: 90663


# ed60635d 05-Dec-2009 Benjamin Kramer <benny.kra@googlemail.com>

strcasecmp is unportable.

llvm-svn: 90662


# 249d6826 05-Dec-2009 Douglas Gregor <dgregor@apple.com>

Improve the performance of code completion by 2.2x when completing for ordinary names with Cocoa.h included, by drastically improving the performance of our results sorting.

llvm-svn: 90661


# f09935f1 01-Dec-2009 Douglas Gregor <dgregor@apple.com>

Switch the clang-to-CIndex interface for code-completion to a binary format, for a massive speedup

llvm-svn: 90209


# 132f3133 30-Nov-2009 John McCall <rjmccall@apple.com>

Remove all of Sema's explicit uses of OverloadedFunctionDecl except for
those associated with TemplateNames.

llvm-svn: 90162


# b33a97c3 29-Nov-2009 Benjamin Kramer <benny.kra@googlemail.com>

Remove useless c_str() calls in SemaCodeComplete.

llvm-svn: 90088


# e66edc18 24-Nov-2009 John McCall <rjmccall@apple.com>

Rip out TemplateIdRefExpr and make UnresolvedLookupExpr and
DependentScopeDeclRefExpr support storing templateids. Unite the common
code paths between ActOnDeclarationNameExpr and Act

Rip out TemplateIdRefExpr and make UnresolvedLookupExpr and
DependentScopeDeclRefExpr support storing templateids. Unite the common
code paths between ActOnDeclarationNameExpr and ActOnTemplateIdExpr.

This gets us to a point where we don't need to store function templates in
the AST using TemplateNames, which is critical to ripping out OverloadedFunction.

Also resolves a few FIXMEs.

llvm-svn: 89785

show more ...


# 6b51f28e 23-Nov-2009 John McCall <rjmccall@apple.com>

Encapsulate "an array of TemplateArgumentLocs and two angle bracket locations" into
a new class. Use it pervasively throughout Sema.

My fingers hurt.

llvm-svn: 89638


# 283b901c 22-Nov-2009 John McCall <rjmccall@apple.com>

Consider a FunctionTemplate to be an overload all on its lonesome. Track
this information through lookup rather than rederiving it.

llvm-svn: 89570


# d14a8642 21-Nov-2009 John McCall <rjmccall@apple.com>

"Incremental" progress on using expressions, by which I mean totally ripping
into pretty much everything about overload resolution in order to wean
BuildDeclarationNameExpr off LookupResult::getAsSin

"Incremental" progress on using expressions, by which I mean totally ripping
into pretty much everything about overload resolution in order to wean
BuildDeclarationNameExpr off LookupResult::getAsSingleDecl(). Replace
UnresolvedFunctionNameExpr with UnresolvedLookupExpr, which generalizes the
idea of a non-member lookup that we haven't totally resolved yet, whether by
overloading, argument-dependent lookup, or (eventually) the presence of
a function template in the lookup results.

Incidentally fixes a problem with argument-dependent lookup where we were
still performing ADL even when the lookup results contained something from
a block scope.

Incidentally improves a diagnostic when using an ObjC ivar from a class method.
This just fell out from rewriting BuildDeclarationNameExpr's interaction with
lookup, and I'm too apathetic to break it out.

The only remaining uses of OverloadedFunctionDecl that I know of are in
TemplateName and MemberExpr.

llvm-svn: 89544

show more ...


1...<<21222324252627282930