- Jan 14, 2010
-
-
Douglas Gregor authored
ResultBuilder::MaybeAddResult over to ResultBuilder::AddResult. llvm-svn: 93429
-
Douglas Gregor authored
after adding the ability to determine whether our lookup is a base-class lookup. Eliminate CollectMemberLookupResults, since it is no longer used (yay). llvm-svn: 93428
-
Douglas Gregor authored
LookupVisibleDecls. Also, a function does not hide another function. llvm-svn: 93421
-
Douglas Gregor authored
of the more general LookupVisibleDecls. llvm-svn: 93419
-
Douglas Gregor authored
than traversing visible declarations twice, only perform one traversal and recognize nested-name-specifiers as special. llvm-svn: 93418
-
Douglas Gregor authored
provided nested-name-specifier results for base classes (only), rather than everything that could possibly be a nested-name-specifier. llvm-svn: 93398
-
Douglas Gregor authored
LookupVisibleDecls, unifying the name lookup mechanisms used by code completion and typo correction. Aside from the software-engineering improvements, this makes code-completion see through using directives and see ivars when performing unqualified name lookup in an Objective-C instance method. llvm-svn: 93397
-
Douglas Gregor authored
functionality change. llvm-svn: 93386
-
Douglas Gregor authored
code-completion's ResultBuilder::MaybeAddResult for later reuse. llvm-svn: 93379
-
Douglas Gregor authored
are no longer using it for anything. No intended functionality change. llvm-svn: 93376
-
Douglas Gregor authored
the "typed" text, first, then take into account nested-name-specifiers, name hiding, etc. This means that the resulting sort is actually alphabetical :) llvm-svn: 93370
-
- Jan 13, 2010
-
-
Douglas Gregor authored
llvm-svn: 93361
-
Douglas Gregor authored
provide completions for @ keywords. Previously, we only provided @-completions after an @ was actually typed, which is useful but probably not the common case. Also, make sure a few Objective-C 2.0 completions only show up when Objective-C 2.0 support is enabled (the default). llvm-svn: 93354
-
- Jan 12, 2010
-
-
Douglas Gregor authored
embedding single space characters. <rdar://problem/7485503> llvm-svn: 93231
-
- Jan 11, 2010
-
-
Douglas Gregor authored
C++ grammatical constructs that show up in top-level (namespace-level) declarations, member declarations, template declarations, statements, expressions, conditions, etc. For example, we now provide a pattern for static_cast<type>(expr) when we can have an expression, or using namespace identifier; when we can have a using directive. Also, improves the results of code completion at the beginning of a top-level declaration. Previously, we would see value names (function names, global variables, etc.); now we see types, namespace names, etc., but no values. llvm-svn: 93134
-
- Dec 30, 2009
-
-
Chris Lattner authored
llvm-svn: 92310
-
Douglas Gregor authored
tring str2; we produce the following diagnostic + fix-it: typo.cpp:15:1: error: unknown type name 'tring'; did you mean 'string'? tring str2; ^~~~~ string To make this really useful, we'll need to introduce typo correction in many more places (wherever we do name lookup), and implement declaration-vs-expression heuristics that cope with typos better. However, for now this will handle the simple cases where we already get good "unknown type name" diagnostics. The LookupVisibleDecls functions are intended to be used by code completion as well as typo correction; that refactoring will happen later. llvm-svn: 92308
-
- Dec 25, 2009
-
-
Benjamin Kramer authored
llvm-svn: 92162
-
- Dec 23, 2009
-
-
Douglas Gregor authored
llvm-svn: 91951
-
- Dec 18, 2009
-
-
Douglas Gregor authored
llvm-svn: 91702
-
- Dec 16, 2009
-
-
John McCall authored
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
-
- Dec 15, 2009
-
-
Chris Lattner authored
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
-
- Dec 12, 2009
-
-
Jeffrey Yasskin authored
no extra safety anyway. llvm-svn: 91207
-
- Dec 11, 2009
-
-
Douglas Gregor authored
llvm-svn: 91141
-
Douglas Gregor authored
informative chunk. llvm-svn: 91139
-
Douglas Gregor authored
llvm-svn: 91138
-
Douglas Gregor authored
llvm-svn: 91137
-
Douglas Gregor authored
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
-
Douglas Gregor authored
llvm-svn: 91125
-
- Dec 07, 2009
-
-
Douglas Gregor authored
llvm-svn: 90758
-
Douglas Gregor authored
llvm-svn: 90757
-
Douglas Gregor authored
llvm-svn: 90756
-
- Dec 06, 2009
-
-
Douglas Gregor authored
PointerUnion == PointerUnion does not do what I thought it did. Also, fix a thinko in a PointerUnion::get call. llvm-svn: 90719
-
Douglas Gregor authored
llvm::DenseMap, for a 20% performance improvement in the Cocoa-big-list performance benchmark. llvm-svn: 90715
-
- Dec 05, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90663
-
Benjamin Kramer authored
llvm-svn: 90662
-
Douglas Gregor authored
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
-
- Dec 01, 2009
-
-
Douglas Gregor authored
llvm-svn: 90209
-
- Nov 30, 2009
-
-
John McCall authored
those associated with TemplateNames. llvm-svn: 90162
-
- Nov 29, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90088
-