History log of /llvm-project/clang/lib/Sema/SemaCodeComplete.cpp (Results 551 – 575 of 748)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 50c68258 31-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at>

Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespa

Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them.

llvm-svn: 112563

show more ...


# 981a0c46 29-Aug-2010 Douglas Gregor <dgregor@apple.com>

When providing a code completion for an Objective-C message send, drop
the parameter names from the completions, e.g., provide

withString:(NSString *)

instead of

withString:(NSString *)string

When providing a code completion for an Objective-C message send, drop
the parameter names from the completions, e.g., provide

withString:(NSString *)

instead of

withString:(NSString *)string

since the parameter name is, by convention, redundant with the
selector piece that precedes it and the completions can get
unnecessarily long.

llvm-svn: 112456

show more ...


# 99129efd 29-Aug-2010 Douglas Gregor <dgregor@apple.com>

Improve code completion for initializer lists in constructors. Instead
of prioritizing just by initialization order, we bump the priority of
just the *next* initializer in the list, and leave everyth

Improve code completion for initializer lists in constructors. Instead
of prioritizing just by initialization order, we bump the priority of
just the *next* initializer in the list, and leave everything else at
the normal priority. That way, if one intentionally skips the
initialization of a base or member (to get default initialization),
we'll still get ordered completion for the rest.

llvm-svn: 112454

show more ...


# eaeeca9a 28-Aug-2010 Douglas Gregor <dgregor@apple.com>

Basic code completion support for the base and member initializers in
a constructor.

llvm-svn: 112330


# ac322ec9 27-Aug-2010 Douglas Gregor <dgregor@apple.com>

Implement the "call super" code completion for C++. If the virtual
member function you're typing in overrides another virtual function,
this fills in a (qualified!) call to that virtual function to m

Implement the "call super" code completion for C++. If the virtual
member function you're typing in overrides another virtual function,
this fills in a (qualified!) call to that virtual function to make
such delegation easy.

llvm-svn: 112294

show more ...


# 28c7843e 27-Aug-2010 Douglas Gregor <dgregor@apple.com>

Suggest "const" and "volatile" code completions after a function
declarator, the very definition of "low-hanging fruit".

llvm-svn: 112274


# c2cb2e23 27-Aug-2010 Douglas Gregor <dgregor@apple.com>

When code-completing inside an Objective-C method, give a slight
priority boost to methods with the same selector.

llvm-svn: 112268


# 6fc0413e 27-Aug-2010 Douglas Gregor <dgregor@apple.com>

Add a super-cool code completion for send-to-super. When we're typing
a message send to "super" from a method that appears to be meant to
override a superclass method (same kind, same selector, same

Add a super-cool code completion for send-to-super. When we're typing
a message send to "super" from a method that appears to be meant to
override a superclass method (same kind, same selector, same argument
types), provide a "super" completion that fills in the selector along
with forwarding the method's arguments (as placeholders).

llvm-svn: 112263

show more ...


# faf5fb4b 26-Aug-2010 John McCall <rjmccall@apple.com>

One who seeks knowledge learns something new every day.
One who seeks the Tao unlearns something new every day.
Less and less remains until you arrive at non-action.
When you arrive at non-action,
no

One who seeks knowledge learns something new every day.
One who seeks the Tao unlearns something new every day.
Less and less remains until you arrive at non-action.
When you arrive at non-action,
nothing will be left undone.

llvm-svn: 112244

show more ...


# 9ac1ad14 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

Tweak the @selector completion to collapse multiple informative and
typed-text blocks into one of each.

llvm-svn: 112194


# 9be0ed4f 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

When code-completing a potential call to a C++ non-static member
function, take into account the qualifiers on the object argument
(e.g., what will become "this"), filtering around uncallable member

When code-completing a potential call to a C++ non-static member
function, take into account the qualifiers on the object argument
(e.g., what will become "this"), filtering around uncallable member
functions and giving a slight priority boost to those with
exactly-matching qualifiers.

llvm-svn: 112193

show more ...


# 67c692cc 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

Implement code completion for @selector expressions

llvm-svn: 112186


# 49f67ce4 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

P

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

Provide a libclang function that sorts the results.

3rd try. How embarrassing.

llvm-svn: 112180

show more ...


# bef185c8 26-Aug-2010 Daniel Dunbar <daniel@zuster.org>

Revert r112149, "Move the sorting of code-completion results out of the main
path and ...", it is failing tests.

llvm-svn: 112161


# 78ecc499 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

P

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

Provide a libclang function that sorts the results.

llvm-svn: 112149

show more ...


# 10998651 26-Aug-2010 Douglas Gregor <dgregor@apple.com>

Revert "Move the sorting of code-completion results out of the main path and
into the clients", because the C standard library sucks. Where's my
stable sort, huh?

llvm-svn: 112121


# ebb7c848 25-Aug-2010 Douglas Gregor <dgregor@apple.com>

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

l

Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

llvm-svn: 112095

show more ...


# 8302463d 25-Aug-2010 John McCall <rjmccall@apple.com>

Split out a header to hold APIs meant for the Sema implementation from Sema.h.
Clients of Sema don't need to know (for example) the list of diagnostics we
support.

llvm-svn: 112093


# 0de55cec 25-Aug-2010 Douglas Gregor <dgregor@apple.com>

When combining the code-completion results from Sema long with the
code-completion results cached by ASTUnit, sort the resulting result
set. This makes testing far, far easier, so this commit also in

When combining the code-completion results from Sema long with the
code-completion results cached by ASTUnit, sort the resulting result
set. This makes testing far, far easier, so this commit also includes
tests for the previous few fixes.

llvm-svn: 112070

show more ...


# ea736373 25-Aug-2010 Douglas Gregor <dgregor@apple.com>

Add a code-completion context for "natural language" completions, so
that ASTUnit knows not to try to provide completions there.

llvm-svn: 112057


# 11583704 25-Aug-2010 Douglas Gregor <dgregor@apple.com>

Introduce a preprocessor code-completion hook for contexts where we
expect "natural" language and should not provide any completions,
e.g., comments, string literals, #error.

llvm-svn: 112054


# aab3e41e 25-Aug-2010 John McCall <rjmccall@apple.com>

Split FunctionScopeInfo and BlockScopeInfo into their own header.

llvm-svn: 112038


# 276321a9 25-Aug-2010 John McCall <rjmccall@apple.com>

Teach Sema to live without CodeCompleteConsumer.h.

llvm-svn: 112028


# 416b575e 25-Aug-2010 Douglas Gregor <dgregor@apple.com>

When performing completions involving Objective-C method declarations
(e.g., for message sends or method declaration/definition
completions), adjust methods that come from a base class.

llvm-svn: 11

When performing completions involving Objective-C method declarations
(e.g., for message sends or method declaration/definition
completions), adjust methods that come from a base class.

llvm-svn: 112013

show more ...


# 4d755e86 24-Aug-2010 Douglas Gregor <dgregor@apple.com>

Give a slight preference to functions returning "void" when we're
performing code completion at the statement level (rather than in an
arbitrary expression).

llvm-svn: 112001


1...<<21222324252627282930