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
[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git]
/
clang-tools-extra
/
test
/
clang-tidy
/
infrastructure
/
deduplication.cpp
blob
056fe4e5735d52db46be7292ced89af6e0807d23
1
// RUN: %check_clang_tidy %s google-explicit-constructor %t
2
3
template
<
typename T
>
4
struct
A
{
A
(
T
); };
5
// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: single-argument constructors must be marked explicit
6
7
void
f
() {
8
A
<
int
>
a
(
0
);
9
A
<
double
>
b
(
0
);
10
}