Skip to content

Commit 97c4c59

Browse files
author
Advenam Tacet
committed
clang-format-fix
1 parent 21c85d9 commit 97c4c59

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

llvm/include/llvm/ADT/FunctionExtras.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,11 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
317317
// Clear the old callback and inline flag to get back to as-if-null.
318318
RHS.CallbackAndInlineFlag = {};
319319

320-
#if !defined(NDEBUG) && !(defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__))
321-
// In debug builds without ASan, we also scribble across the rest of the storage.
322-
// AddressSanitizer (ASAN) disables scribbling to prevent overwriting poisoned objects
323-
// (e.g., annotated short strings).
320+
#if !defined(NDEBUG) && \
321+
!(defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__))
322+
// In debug builds without ASan, we also scribble across the rest of the
323+
// storage. AddressSanitizer (ASAN) disables scribbling to prevent
324+
// overwriting poisoned objects (e.g., annotated short strings).
324325
memset(RHS.getInlineStorage(), 0xAD, InlineStorageSize);
325326
#endif
326327
}

0 commit comments

Comments
 (0)