mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
Enable/silence -Wshadow.
llvm-svn: 152325
This commit is contained in:
parent
05d2212db3
commit
11dd38dab0
@ -28,7 +28,7 @@ then
|
||||
fi
|
||||
|
||||
EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 \
|
||||
-Wsign-conversion -Wnewline-eof"
|
||||
-Wsign-conversion -Wshadow -Wnewline-eof"
|
||||
|
||||
case $TRIPLE in
|
||||
*-apple-*)
|
||||
|
@ -177,10 +177,7 @@ terminate() _NOEXCEPT
|
||||
(unwind_exception->exception_class & get_vendor_and_language) ==
|
||||
(kOurExceptionClass & get_vendor_and_language);
|
||||
if (native_exception)
|
||||
{
|
||||
__cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1;
|
||||
__terminate(exception_header->terminateHandler);
|
||||
}
|
||||
}
|
||||
}
|
||||
__terminate(get_terminate());
|
||||
|
Loading…
Reference in New Issue
Block a user