[compiler-rt] r256256 - fix a gcc warning
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 22 09:22:26 PST 2015
Author: nico
Date: Tue Dec 22 11:22:25 2015
New Revision: 256256
URL: http://llvm.org/viewvc/llvm-project?rev=256256&view=rev
Log:
fix a gcc warning
Modified:
compiler-rt/trunk/lib/builtins/gcc_personality_v0.c
compiler-rt/trunk/lib/builtins/int_lib.h
Modified: compiler-rt/trunk/lib/builtins/gcc_personality_v0.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/gcc_personality_v0.c?rev=256256&r1=256255&r2=256256&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/gcc_personality_v0.c (original)
+++ compiler-rt/trunk/lib/builtins/gcc_personality_v0.c Tue Dec 22 11:22:25 2015
@@ -141,7 +141,8 @@ static uintptr_t readEncodedPointer(cons
* throw through a C function compiled with -fexceptions.
*/
#if __USING_SJLJ_EXCEPTIONS__
-// the setjump-longjump based exceptions personality routine has a different name
+/* the setjump-longjump based exceptions personality routine has a
+ * different name */
COMPILER_RT_ABI _Unwind_Reason_Code
__gcc_personality_sj0(int version, _Unwind_Action actions,
uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
Modified: compiler-rt/trunk/lib/builtins/int_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/int_lib.h?rev=256256&r1=256255&r2=256256&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/int_lib.h (original)
+++ compiler-rt/trunk/lib/builtins/int_lib.h Tue Dec 22 11:22:25 2015
@@ -128,6 +128,6 @@ uint32_t __inline __builtin_clzll(uint64
#endif
#define __builtin_clzl __builtin_clzll
-#endif // defined(_MSC_VER) && !defined(__clang__)
+#endif /* defined(_MSC_VER) && !defined(__clang__) */
#endif /* INT_LIB_H */
More information about the llvm-commits
mailing list