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

@@ -4,21 +4,28 @@
#include "libcef_dll/ctocpp/base_ref_counted_ctocpp.h"
CefBaseRefCountedCToCpp::CefBaseRefCountedCToCpp() {
}
CefBaseRefCountedCToCpp::CefBaseRefCountedCToCpp() {}
template<> cef_base_ref_counted_t* CefCToCppRefCounted<CefBaseRefCountedCToCpp,
CefBaseRefCounted, cef_base_ref_counted_t>::UnwrapDerived(
CefWrapperType type, CefBaseRefCounted* c) {
template <>
cef_base_ref_counted_t* CefCToCppRefCounted<
CefBaseRefCountedCToCpp,
CefBaseRefCounted,
cef_base_ref_counted_t>::UnwrapDerived(CefWrapperType type,
CefBaseRefCounted* c) {
NOTREACHED();
return NULL;
}
#if DCHECK_IS_ON()
template<> base::AtomicRefCount CefCToCppRefCounted<CefBaseRefCountedCToCpp,
CefBaseRefCounted, cef_base_ref_counted_t>::DebugObjCt = 0;
template <>
base::AtomicRefCount CefCToCppRefCounted<CefBaseRefCountedCToCpp,
CefBaseRefCounted,
cef_base_ref_counted_t>::DebugObjCt =
0;
#endif
template<> CefWrapperType CefCToCppRefCounted<CefBaseRefCountedCToCpp,
CefBaseRefCounted, cef_base_ref_counted_t>::kWrapperType =
template <>
CefWrapperType CefCToCppRefCounted<CefBaseRefCountedCToCpp,
CefBaseRefCounted,
cef_base_ref_counted_t>::kWrapperType =
WT_BASE_REF_COUNTED;