aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/namespace-alias.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-08-12Fix FileCheck --check-prefix lines.Tim Northover1-1/+1
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
2010-01-13Improve the sorting of code-completion results. We now always sort byDouglas Gregor1-5/+5
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
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-11-08Remove RUN: true lines.Daniel Dunbar1-1/+0
llvm-svn: 86432
2009-11-08Eliminate &&s in tests.Daniel Dunbar1-1/+1
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
2009-09-24Clean up the CodeCompletion testsuite's use of FileCheckDouglas Gregor1-2/+2
llvm-svn: 82726
2009-09-22Tweak the code-completion results ranking and formation, so thatDouglas Gregor1-2/+2
members found in base classes have the same ranking as members found in derived classes. However, we will introduce an informative note for members found in base classes, showing (as a nested-name-specifier) the qualification to name the base class, to make it clear which members are from bases. llvm-svn: 82586
2009-09-22Replace the -code-completion-dump option with Douglas Gregor1-5/+4
-code-completion-at=filename:line:column which performs code completion at the specified location by truncating the file at that position and enabling code completion. This approach makes it possible to run multiple tests from a single test file, and gives a more natural command-line interface. llvm-svn: 82571
2009-09-18Introduce four new code-completion hooks for C++:Douglas Gregor1-0/+22
- after "using", show anything that can be a nested-name-specifier. - after "using namespace", show any visible namespaces or namespace aliases - after "namespace", show any namespace definitions in the current scope - after "namespace identifier = ", show any visible namespaces or namespace aliases llvm-svn: 82251