summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/templates.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeComplete] Constructor overload candidates report as vector(int) instead ↵Sam McCall2019-11-151-1/+8
| | | | | | | | | | | | | | | | | | | of vector<string>(int) Summary: This is shorter, shouldn't be confusing (is consistent with how they're declared), and avoids messy cases that are printed as myclass<type-param-0-0>(int) in the case of partial specialization. Fixes part of https://github.com/clangd/clangd/issues/76 Reviewers: hokein, lh123 Subscribers: ilya-biryukov, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70307
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-2/+2
| | | | | | | | | - 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
* Teach code completion to instantiate templates when it needs toDouglas Gregor2009-12-111-5/+17
| | | | llvm-svn: 91138
* Class template (partial) specializations should not show up in code ↵Douglas Gregor2009-12-111-3/+3
| | | | | | completion results llvm-svn: 91125
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-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
* Replace the -code-completion-dump option with Douglas Gregor2009-09-221-5/+5
| | | | | | | | | | | -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
* Introduce code completion patterns for templates, which provide theDouglas Gregor2009-09-181-0/+17
angle brackets < > along with placeholder template arguments. llvm-svn: 82304
OpenPOWER on IntegriCloud