[compiler-rt] r349492 - Fix a gcc -Wpedantix warning

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 18 07:17:01 PST 2018


Author: nico
Date: Tue Dec 18 07:17:01 2018
New Revision: 349492

URL: http://llvm.org/viewvc/llvm-project?rev=349492&view=rev
Log:
Fix a gcc -Wpedantix warning

Modified:
    compiler-rt/trunk/lib/xray/xray_fdr_log_writer.h

Modified: compiler-rt/trunk/lib/xray/xray_fdr_log_writer.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_fdr_log_writer.h?rev=349492&r1=349491&r2=349492&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_fdr_log_writer.h (original)
+++ compiler-rt/trunk/lib/xray/xray_fdr_log_writer.h Tue Dec 18 07:17:01 2018
@@ -41,7 +41,7 @@ template <size_t Index> struct Serialize
                 Index >= std::tuple_size<typename std::remove_reference<
                              Tuple>::type>::value,
                 int>::type = 0>
-  static void serializeTo(char *, Tuple &&){};
+  static void serializeTo(char *, Tuple &&) {}
 };
 
 using Serializer = SerializerImpl<0>;




More information about the llvm-commits mailing list