repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Refactor
/
LocalRename
/
Field.cpp
blob
e674401b9653f9b61ee6a01ef7e421a7f4ceb02a
1
// RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- | grep -v CHECK | FileCheck %s
2
3
class
Baz
{
4
int
/*range=*/
Foo
;
5
// CHECK: int /*range=*/Bar;
6
public
:
7
Baz
();
8
};
9
10
Baz
::
Baz
() :
/*range=*/
Foo
(
0
) {}
11
// CHECK: Baz::Baz() : /*range=*/Bar(0) {}