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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
predefined-expr-msvc.cpp
blob
a2560f2d2d015b150f9feb8272c7886b7863f91f
1
// RUN: %clang_cc1 %s -std=c++17 -fsyntax-only -verify
2
// RUN: %clang_cc1 %s -std=c++17 -fsyntax-only -verify -fms-extensions
3
4
// expected-no-diagnostics
5
6
struct
StringRef
{
7
StringRef
(
const char
*);
8
};
9
template
<
typename T
>
10
StringRef
getTypeName
() {
11
StringRef s
=
__func__
;
12
}
13