[compiler-rt] r361305 - [asan] clang-format parent patch

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 13:24:42 PDT 2019


Author: vitalybuka
Date: Tue May 21 13:24:42 2019
New Revision: 361305

URL: http://llvm.org/viewvc/llvm-project?rev=361305&view=rev
Log:
[asan] clang-format parent patch

Modified:
    compiler-rt/trunk/lib/asan/asan_errors.h

Modified: compiler-rt/trunk/lib/asan/asan_errors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_errors.h?rev=361305&r1=361304&r2=361305&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_errors.h (original)
+++ compiler-rt/trunk/lib/asan/asan_errors.h Tue May 21 13:24:42 2019
@@ -404,9 +404,9 @@ struct ErrorGeneric : ErrorBase {
 
 #define ASAN_DEFINE_ERROR_KIND(name) kErrorKind##name,
 #define ASAN_ERROR_DESCRIPTION_MEMBER(name) Error##name name;
-#define ASAN_ERROR_DESCRIPTION_CONSTRUCTOR(name)                               \
-  ErrorDescription(Error##name const &e) : kind(kErrorKind##name) {            \
-    internal_memcpy(&name, &e, sizeof(name));                                  \
+#define ASAN_ERROR_DESCRIPTION_CONSTRUCTOR(name)                    \
+  ErrorDescription(Error##name const &e) : kind(kErrorKind##name) { \
+    internal_memcpy(&name, &e, sizeof(name));                       \
   }
 #define ASAN_ERROR_DESCRIPTION_PRINT(name) \
   case kErrorKind##name:                   \




More information about the llvm-commits mailing list