-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100720 Reviewed by Daniel Bates. Source/JavaScriptCore: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::generate): (JSC::BytecodeGenerator::pushFinallyContext): (JSC::BytecodeGenerator::beginSwitch): * llint/LLIntOffsetsExtractor.cpp: * runtime/Identifier.cpp: (JSC::Identifier::add8): * runtime/Identifier.h: (JSC::Identifier::add): * runtime/JSONObject.cpp: (JSC::appendStringToStringBuilder): * runtime/StringPrototype.cpp: (JSC::replaceUsingStringSearch): Add static_casts to prevent implicit type conversions in non-constant initializer lists. Source/ThirdParty/ANGLE: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. Source/WebCore: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. * platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::hash): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::strokeArc): * platform/graphics/filters/CustomFilterProgramInfo.cpp: (WebCore::CustomFilterProgramInfo::hash): (WebCore::ProtectionSpaceHash::hash): * platform/network/cf/FormDataStreamCFNet.cpp: (WebCore::setHTTPBody): Add static_casts to prevent implicit type conversions in non-constant initializer lists. * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::createDragImage): * platform/mac/CursorMac.mm: (WebCore::createNamedCursor): * platform/mac/ScrollViewMac.mm: (WebCore::ScrollView::platformSetContentsSize): Use NSMakePoint to prevent implicit type conversions in non-constant initializer lists. * platform/mac/CookieJar.mm: (WebCore::cookiesEnabled): * platform/network/mac/ResourceHandleMac.mm: (WebCore::shouldRelaxThirdPartyCookiePolicy): Add explicit casts to NSHTTPCookieAcceptPolicy. * platform/mac/WebCoreNSURLExtras.h: * platform/mac/WebCoreNSURLExtras.mm: (WebCore::URLByTruncatingOneCharacterBeforeComponent): (WebCore::dataForURLComponentType): * platform/network/ProtectionSpaceHash.h: Use CFIndex instead of CFURLComponentType, the enum can be mangled differently in some cases, and these functions are exported from WebCore. Source/WebKit/mac: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. * History/WebBackForwardList.mm: (-[WebBackForwardList description]): * History/WebHistoryItem.mm: (-[WebHistoryItem description]): Add static_casts to prevent implicit type conversions in non-constant initializer lists. Source/WebKit2: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. * UIProcess/mac/WebCookieManagerProxyMac.mm: (WebKit::WebCookieManagerProxy::persistHTTPCookieAcceptPolicy): * WebProcess/Cookies/mac/WebCookieManagerMac.mm: (WebKit::WebCookieManager::platformSetHTTPCookieAcceptPolicy): Add explicit casts to NSHTTPCookieAcceptPolicy. Source/WTF: * Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. * wtf/text/AtomicString.cpp: (WTF::AtomicString::add): Change the type of length to be unsigned to prevent implicit type conversions in non-constant initializer lists. * wtf/unicode/UTF8.cpp: (Unicode): Add static_casts to prevent implicit type conversions in non-constant initializer lists. Tools: * DumpRenderTree/mac/Configurations/Base.xcconfig: * MiniBrowser/Configurations/Base.xcconfig: * TestWebKitAPI/Configurations/Base.xcconfig: * WebKitTestRunner/Configurations/Base.xcconfig: Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3c8717b4