Merge pull request #6755 from electron/upgrade-clang

Upgrade clang
This commit is contained in:
Cheng Zhao 2016-08-12 17:38:03 +09:00 committed by GitHub
commit 620847d2fd
3 changed files with 4 additions and 2 deletions

View file

@ -18,7 +18,7 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
// Set our own application delegate. // Set our own application delegate.
AtomApplicationDelegate* delegate = [[AtomApplicationDelegate alloc] init]; AtomApplicationDelegate* delegate = [[AtomApplicationDelegate alloc] init];
[NSApp setDelegate:(id<NSFileManagerDelegate>)delegate]; [NSApp setDelegate:delegate];
brightray::BrowserMainParts::PreMainMessageLoopStart(); brightray::BrowserMainParts::PreMainMessageLoopStart();

View file

@ -102,6 +102,7 @@
'-Wno-return-type', '-Wno-return-type',
'-Wno-gnu-folding-constant', '-Wno-gnu-folding-constant',
'-Wno-shift-negative-value', '-Wno-shift-negative-value',
'-Wno-varargs', # https://git.io/v6Olj
], ],
}, },
'conditions': [ 'conditions': [
@ -117,6 +118,7 @@
'-Wno-deprecated-declarations', '-Wno-deprecated-declarations',
'-Wno-return-type', '-Wno-return-type',
'-Wno-shift-negative-value', '-Wno-shift-negative-value',
'-Wno-varargs', # https://git.io/v6Olj
# Required when building as shared library. # Required when building as shared library.
'-fPIC', '-fPIC',
], ],

View file

@ -8,7 +8,7 @@
# Do NOT CHANGE this if you don't know what you're doing -- see # Do NOT CHANGE this if you don't know what you're doing -- see
# https://code.google.com/p/chromium/wiki/UpdatingClang # https://code.google.com/p/chromium/wiki/UpdatingClang
# Reverting problematic clang rolls is safe, though. # Reverting problematic clang rolls is safe, though.
CLANG_REVISION=261368 CLANG_REVISION=269902
# This is incremented when pushing a new build of Clang at the same revision. # This is incremented when pushing a new build of Clang at the same revision.
CLANG_SUB_REVISION=1 CLANG_SUB_REVISION=1