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
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
debug-info-method-spec.cpp
blob
a58e8de107c2d45c84558d09992bf8fd0c418f86
1
// FIXME: Check IR rather than asm, then triple is not needed.
2
// RUN: %clang --target=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification
3
class
A
{
4
public
:
5
void
doSomething
(
int
i
) { ++
i
; }
6
};
7
8
void
foo
(
A
*
a
) {
9
a
->
doSomething
(
2
);
10
}