summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_exception.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-05 23:48:06 +0000
committerDan Albert <danalbert@google.com>2015-02-05 23:48:06 +0000
commitb98c20cf7c7bb2e1aebe1e685a429c67dcff2e28 (patch)
treebc9345329f95c370726dd748c1553734ad8ab430 /libcxxabi/src/cxa_exception.cpp
parentd88e51ced75203bea68e5383b608d3dbe9c42e4a (diff)
downloadbcm5719-llvm-b98c20cf7c7bb2e1aebe1e685a429c67dcff2e28.tar.gz
bcm5719-llvm-b98c20cf7c7bb2e1aebe1e685a429c67dcff2e28.zip
Formatting fixes.
We should clang-format the whole thing when we finally move the unwinder to its new home. llvm-svn: 228360
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r--libcxxabi/src/cxa_exception.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp
index f3a6b63a8f0..b7a33d716c4 100644
--- a/libcxxabi/src/cxa_exception.cpp
+++ b/libcxxabi/src/cxa_exception.cpp
@@ -258,12 +258,10 @@ __cxa_get_exception_ptr(void* unwind_exception) throw()
{
#if LIBCXXABI_ARM_EHABI
return reinterpret_cast<void*>(
- static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]);
+ static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]);
#else
- return cxa_exception_from_exception_unwind_exception
- (
- static_cast<_Unwind_Exception*>(unwind_exception)
- )->adjustedPtr;
+ return cxa_exception_from_exception_unwind_exception(
+ static_cast<_Unwind_Exception*>(unwind_exception))->adjustedPtr;
#endif
}
OpenPOWER on IntegriCloud