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
/
CodeCompletion
/
uninstantiated_params.cpp
blob
6df9d48adb859139ceac4628cbdb8e8fcc637094
1
template
<
class
T
>
2
struct
unique_ptr
{
3
typedef
T
*
pointer
;
4
5
void
reset
(
pointer ptr
=
pointer
());
6
};
7
8
void
test
() {
9
unique_ptr
<
int
>
x
;
10
x
.
11
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
12
// CHECK-CC1: [#void#]reset({#<#pointer ptr = pointer()#>#})
13
}