repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
According to my auto-simplifier the most common missed simplifications in
[llvm/stm8.git]
/
test
/
FrontendC++
/
2003-11-18-EnumArray.cpp
blob
bb1b3bf301e5e51356b2aaf2d886af0086b0d617
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
enum
TchkType
{
4
tchkNum
,
tchkString
,
tchkSCN
,
tchkNone
5
};
6
7
struct
Operator
{
8
enum
TchkType tchk
[
8
];
9
};
10
11
struct
Operator opTab
[] = {
12
{{
tchkNum
,
tchkNum
,
tchkString
} }
13
};
14