mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
417b5f07b7
commit
dd042bf16e
5 changed files with 5 additions and 50 deletions
|
@ -43,32 +43,6 @@ char *toUpper(const char *str) {
|
|||
return result;
|
||||
}
|
||||
|
||||
// Utilities to characterize effect statements
|
||||
static bool is_def(int usedef) {
|
||||
switch(usedef) {
|
||||
case Component::DEF:
|
||||
case Component::USE_DEF: return true; break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool is_use(int usedef) {
|
||||
switch(usedef) {
|
||||
case Component::USE:
|
||||
case Component::USE_DEF:
|
||||
case Component::USE_KILL: return true; break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool is_kill(int usedef) {
|
||||
switch(usedef) {
|
||||
case Component::KILL:
|
||||
case Component::USE_KILL: return true; break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//---------------------------ChainList Methods-------------------------------
|
||||
ChainList::ChainList() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue