summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/ordinary-name.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Tests] Modified Lit Tests to be C++11 compatibileCharles Li2015-08-271-5/+5
| | | | | | | This 2nd patch should not change the test results, but it is useful if clang's default C++ language is ever changed from gnu++98. llvm-svn: 246183
* Provide result types for code completions that describe built-inDouglas Gregor2011-10-181-19/+19
| | | | | | expressions (this, sizeof, etc.). llvm-svn: 142424
* Don't suggest dynamic_cast or typeid as code completion results whenDouglas Gregor2011-04-121-2/+56
| | | | | | | | 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
* Fix the mapping of vertical-space cursor kinds to produce a newline,Douglas Gregor2010-10-081-1/+1
| | | | | | rather than a space. llvm-svn: 116097
* Make -code-completion-patterns only cover multi-line codeDouglas Gregor2010-05-281-29/+33
| | | | | | | completions. Plus, tweak a few completion patterns to better reflect the language grammar. llvm-svn: 104905
* Only enable code patterns (e.g., try { statements } catch (...) {Douglas Gregor2010-05-251-4/+4
| | | | | | statements }) in the code-completion results if explicitly requested. llvm-svn: 104637
* Do not produce semicolons at the end of code-completion resultsDouglas Gregor2010-04-061-9/+9
| | | | llvm-svn: 100557
* Improve the sorting of code-completion results. We now always sort byDouglas Gregor2010-01-131-160/+161
| | | | | | | | 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
* Improve code completion by introducing patterns for the various C andDouglas Gregor2010-01-101-0/+170
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
OpenPOWER on IntegriCloud