mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8 8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8 8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8 Co-authored-by: Paul Hohensee <hohensee@amazon.com> Reviewed-by: jwilhelm, ehelin, phh
This commit is contained in:
parent
eb20e62194
commit
efd1054686
142 changed files with 787 additions and 526 deletions
|
@ -149,8 +149,8 @@ static bool match_option(const JavaVMOption *option, const char* name) {
|
|||
static bool match_option(const JavaVMOption* option, const char** names, const char** tail,
|
||||
bool tail_allowed) {
|
||||
for (/* empty */; *names != NULL; ++names) {
|
||||
if (match_option(option, *names, tail)) {
|
||||
if (**tail == '\0' || tail_allowed && **tail == ':') {
|
||||
if (match_option(option, *names, tail)) {
|
||||
if (**tail == '\0' || (tail_allowed && **tail == ':')) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue