History log of /llvm-project/clang/lib/Sema/SemaCodeComplete.cpp (Results 476 – 500 of 748)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4ecb7209 30-Jul-2011 Douglas Gregor <dgregor@apple.com>

Add code completion to produce "else" blocks after an "if"
statement. Fixes <rdar://problem/9229438>.

llvm-svn: 136564


# 0c50531a 30-Jul-2011 Douglas Gregor <dgregor@apple.com>

When producing code completion results for variadic macros, fold the
variadic bit (", ..." or ", args...") into the prior placeholder, like
we do with functions and methods. Fixes <rdar://problem/974

When producing code completion results for variadic macros, fold the
variadic bit (", ..." or ", args...") into the prior placeholder, like
we do with functions and methods. Fixes <rdar://problem/9740808>.

llvm-svn: 136563

show more ...


# 8f08d74e 30-Jul-2011 Douglas Gregor <dgregor@apple.com>

Add the various parameter-passing keywords for Distributed Objects
(such as in, inout, byref, and oneway) to code completion
results. Fixes <rdar://problem/8844158>.

llvm-svn: 136562


# 2c595adf 30-Jul-2011 Douglas Gregor <dgregor@apple.com>

When performing code completion after at @interface, allow both
already-defined and forward-declared results. Already-defined results
are fine because they could be the start of a category. Fixes
<rd

When performing code completion after at @interface, allow both
already-defined and forward-declared results. Already-defined results
are fine because they could be the start of a category. Fixes
<rdar://problem/9811691>.

llvm-svn: 136559

show more ...


# 632500cb 26-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Eliminate a bunch of temporary strings.

llvm-svn: 136092


# ea777403 26-Jul-2011 Douglas Gregor <dgregor@apple.com>

Add new libclang API, clang_codeCompleteGetObjCSelector(), which
provides the partial Objective-C selector used in a code
completion. From Connor Wakamo!

llvm-svn: 136084


# c1679ecf 25-Jul-2011 Douglas Gregor <dgregor@apple.com>

Added clang_getCursorReferenceNameRange to libclang to to retrieve parts of
a cursor reference, from Erik Verbruggen!

llvm-svn: 135920


# 0e62c1cc 23-Jul-2011 Chris Lattner <sabre@nondot.org>

remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
them into the clang namespace.

llvm-svn: 135852


# 63745d59 21-Jul-2011 Douglas Gregor <dgregor@apple.com>

New libclang API to expose container type for code completion, from
Connor Wakamo!

llvm-svn: 135651


# 2132584d 07-Jul-2011 Douglas Gregor <dgregor@apple.com>

Introduce a new libclang aPI function,
clang_codeCompleteGetContexts(), that provides the client with
information about the context in which code completion has occurred
and what kinds of entities ma

Introduce a new libclang aPI function,
clang_codeCompleteGetContexts(), that provides the client with
information about the context in which code completion has occurred
and what kinds of entities make sense as completions at that
point. Patch by Connor Wakamo!

llvm-svn: 134615

show more ...


# 31168b07 15-Jun-2011 John McCall <rjmccall@apple.com>

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation c

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.

llvm-svn: 133103

show more ...


# 1c2d29e3 11-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

Add code completetion code for the new 'atomic' attribute
keyword in objc property decl.

llvm-svn: 132877


# 4cd65962 03-Jun-2011 Douglas Gregor <dgregor@apple.com>

Expose @synthesize and @dynamic via their own cursor kinds in
libclang. Fixes <rdar://problem/9537904>.

llvm-svn: 132603


# 857bcdaf 02-Jun-2011 Douglas Gregor <dgregor@apple.com>

Tweak code completions for Objective-C Key-Value Observing. The
+keyPathsForValuesAffecting<Key> completion was mislabeled as an
instance method, and +automaticallyNotifiesObserversOf<Key> was
missin

Tweak code completions for Objective-C Key-Value Observing. The
+keyPathsForValuesAffecting<Key> completion was mislabeled as an
instance method, and +automaticallyNotifiesObserversOf<Key> was
missing entirely. Fixes <rdar://problem/9516762>.

llvm-svn: 132452

show more ...


# 95147148 05-May-2011 Douglas Gregor <dgregor@apple.com>

When providing code completions for an Objective-C property access,
also include methods with zero-argument selectors. Implements
<rdar://problem/9048332>.

llvm-svn: 130922


# d4a8cede 04-May-2011 Douglas Gregor <dgregor@apple.com>

When adding KVC code completions, keep track of all of the selectors
that we've previously seen, both in declared methods and from previous
KVC completions, to eliminate duplicates. Fixes <rdar://pro

When adding KVC code completions, keep track of all of the selectors
that we've previously seen, both in declared methods and from previous
KVC completions, to eliminate duplicates. Fixes <rdar://problem/9162207>.

llvm-svn: 130890

show more ...


# 6c7a9eec 18-Apr-2011 Douglas Gregor <dgregor@apple.com>

When providing code completions of ivar names for a property
implementation such as

@synthesize Prop1 =

Give priority to ivars whose type matches or closely matches the
property type (as we do f

When providing code completions of ivar names for a property
implementation such as

@synthesize Prop1 =

Give priority to ivars whose type matches or closely matches the
property type (as we do for several other kinds of
results). Additionally, if there is an ivar with the same name as the
property, or differs only due to a _ prefix or suffix, give that ivar
a priority bump. Finally, verify that this search is properly
returning ivars within class extensions and implementations
(<rdar://problem/8488854>).

llvm-svn: 129699

show more ...


# 331faa0f 18-Apr-2011 Douglas Gregor <dgregor@apple.com>

When producing code completion results for the Objective-C property
implementation

@synthesize <property> =

also produce a completion for a to-be-synthesized ivar named
_<property>.

llvm-svn:

When producing code completion results for the Objective-C property
implementation

@synthesize <property> =

also produce a completion for a to-be-synthesized ivar named
_<property>.

llvm-svn: 129697

show more ...


# dda56e4b 15-Apr-2011 Richard Smith <richard-llvm@metafoo.co.uk>

Support for C++11 (non-template) alias declarations.

llvm-svn: 129567


# af670a81 14-Apr-2011 Douglas Gregor <dgregor@apple.com>

When determining the "usage" type of a declaration for the purposes of code
completion, look through block pointer and function pointer types to the
result type of the block/function. Fixes <rdar://

When determining the "usage" type of a declaration for the purposes of code
completion, look through block pointer and function pointer types to the
result type of the block/function. Fixes <rdar://problem/9282583>.

llvm-svn: 129535

show more ...


# c05f657d 12-Apr-2011 Douglas Gregor <dgregor@apple.com>

Don't suggest dynamic_cast or typeid as code completion results when
RTTI is disabled. Similarly, don't suggest throw or try as code
completion results when C++ exceptions are disabled. Fixes
<rdar:/

Don't suggest dynamic_cast or typeid as code completion results when
RTTI is disabled. Similarly, don't suggest throw or try as code
completion results when C++ exceptions are disabled. Fixes
<rdar://problem/9193560>.

llvm-svn: 129346

show more ...


# 0129629f 08-Apr-2011 John Wiegley <johnw@boostpro.com>

Use ExprResult& instead of Expr *& in Sema

This patch authored by Eric Niebler.

Many methods on the Sema class (e.g. ConvertPropertyForRValue) take Expr
pointers as in/out parameters (Expr *&). Th

Use ExprResult& instead of Expr *& in Sema

This patch authored by Eric Niebler.

Many methods on the Sema class (e.g. ConvertPropertyForRValue) take Expr
pointers as in/out parameters (Expr *&). This is especially true for the
routines that apply implicit conversions to nodes in-place. This design is
workable only as long as those conversions cannot fail. If they are allowed
to fail, they need a way to report their failures. The typical way of doing
this in clang is to use an ExprResult, which has an extra bit to signal a
valid/invalid state. Returning ExprResult is de riguour elsewhere in the Sema
interface. We suggest changing the Expr *& parameters in the Sema interface
to ExprResult &. This increases interface consistency and maintainability.

This interface change is important for work supporting MS-style C++
properties. For reasons explained here
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013180.html>,
seemingly trivial operations like rvalue/lvalue conversions that formerly
could not fail now can. (The reason is that given the semantics of the
feature, getter/setter method lookup cannot happen until the point of use, at
which point it may be found that the method does not exist, or it may have the
wrong type, or overload resolution may fail, or it may be inaccessible.)

llvm-svn: 129143

show more ...


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3
# 8aef596d 26-Mar-2011 Benjamin Kramer <benny.kra@googlemail.com>

Make helpers static.

llvm-svn: 128339


Revision tags: llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 30482bc7 20-Feb-2011 Richard Smith <richard-llvm@metafoo.co.uk>

Implement the C++0x deduced 'auto' feature.

This fixes PR 8738, 9060 and 9132.

llvm-svn: 126069


# 3a69eafa 18-Feb-2011 Douglas Gregor <dgregor@apple.com>

When code-completing a case statement for a switch on a value of
enumeration type, prioritize the enumeration constants and don't
provide completions for any other expressions. Fixes <rdar://problem/

When code-completing a case statement for a switch on a value of
enumeration type, prioritize the enumeration constants and don't
provide completions for any other expressions. Fixes <rdar://problem/7283668>.

llvm-svn: 125991

show more ...


1...<<11121314151617181920>>...30