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
/
attr-disable-tail-calls.cpp
blob
d442aa6d4409364e474b213a6b931eb0f0a418aa
1
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
class
B
{
5
public
:
6
[[
clang
::
disable_tail_calls
]]
virtual
int
foo1
() {
return
1
; }
7
[[
clang
::
disable_tail_calls
]]
int
foo2
() {
return
2
; }
8
};