Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=de60346a2373edcaa4087576ef4a33ce919f5b6d$
//
#include "libcef_dll/ctocpp/views/box_layout_ctocpp.h"
#include "libcef_dll/ctocpp/views/fill_layout_ctocpp.h"
// VIRTUAL METHODS - Body may be edited by hand.
CefRefPtr<CefBoxLayout> CefFillLayoutCToCpp::AsBoxLayout() {
@@ -55,26 +56,30 @@ bool CefFillLayoutCToCpp::IsValid() {
int _retval = _struct->is_valid(_struct);
// Return type: bool
return _retval?true:false;
return _retval ? true : false;
}
// CONSTRUCTOR - Do not edit by hand.
CefFillLayoutCToCpp::CefFillLayoutCToCpp() {
}
CefFillLayoutCToCpp::CefFillLayoutCToCpp() {}
template<> cef_fill_layout_t* CefCToCppRefCounted<CefFillLayoutCToCpp,
CefFillLayout, cef_fill_layout_t>::UnwrapDerived(CefWrapperType type,
CefFillLayout* c) {
template <>
cef_fill_layout_t*
CefCToCppRefCounted<CefFillLayoutCToCpp, CefFillLayout, cef_fill_layout_t>::
UnwrapDerived(CefWrapperType type, CefFillLayout* c) {
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
}
#if DCHECK_IS_ON()
template<> base::AtomicRefCount CefCToCppRefCounted<CefFillLayoutCToCpp,
CefFillLayout, cef_fill_layout_t>::DebugObjCt = 0;
template <>
base::AtomicRefCount CefCToCppRefCounted<CefFillLayoutCToCpp,
CefFillLayout,
cef_fill_layout_t>::DebugObjCt = 0;
#endif
template<> CefWrapperType CefCToCppRefCounted<CefFillLayoutCToCpp,
CefFillLayout, cef_fill_layout_t>::kWrapperType = WT_FILL_LAYOUT;
template <>
CefWrapperType CefCToCppRefCounted<CefFillLayoutCToCpp,
CefFillLayout,
cef_fill_layout_t>::kWrapperType =
WT_FILL_LAYOUT;