llvm-project/clang/test/ASTMerge
Kadir Cetinkaya fd019ed54e [clang] Make handling of unnamed template params similar to function params
Summary:
Clang uses the location identifier should be inserted for declarator
decls when a decl is unnamed. But for type template and template template
paramaters it uses the location of "typename/class" keyword, which makes it hard
for tooling to insert/change parameter names.

This change tries to unify these two cases by making template parameter
parsing and sourcerange operations similar to function params/declarator decls.

Reviewers: ilya-biryukov

Subscribers: arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68143

llvm-svn: 373340
2019-10-01 14:08:51 +00:00
..
anonymous-fields Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
asm Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
category Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
choose-expr [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
class Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
class-template [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
class-template-partial-spec [ASTImporter] Store import errors for Decls 2019-06-25 08:00:51 +00:00
class2 Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
codegen-body Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
codegen-exprs Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
enum Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
exprs Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
exprs-cpp Give the 'signed/unsigned wchar_t' extension a warning flag, and follow 2019-07-29 20:00:46 +00:00
function Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
function-cpp Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
inheritance Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
init-ctors Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
injected-class-name-decl Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
interface Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
macro Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
namespace Fix ASTMerge/namespace/test.cpp after r360701 2019-05-14 20:01:03 +00:00
property Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
std-initializer-list Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
struct Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
typedef Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
unnamed_fields Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00
var Update ASTMerge FileCheck test expectations 2019-05-14 19:02:39 +00:00
var-cpp Restore test files accidentally deleted in r354839 2019-05-14 18:51:07 +00:00