Skip to content

Commit 3de40ac

Browse files
author
Advenam Tacet
committed
clang-format-fix
1 parent d3a2144 commit 3de40ac

File tree

1 file changed

+4
-3
lines changed
  • llvm/include/llvm/Support

1 file changed

+4
-3
lines changed

llvm/include/llvm/Support/JSON.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,10 @@ class Value {
483483

484484
template <typename T, typename... U> void create(U &&... V) {
485485
#if defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__)
486-
// Unpoisoning to prevent overwriting poisoned object (e.g., annotated short string).
487-
// Objects that have had their memory poisoned may cause an ASan error if their memory is reused
488-
// without calling their destructor. Unpoisoning the memory prevents this error from occurring.
486+
// Unpoisoning to prevent overwriting poisoned object (e.g., annotated short
487+
// string). Objects that have had their memory poisoned may cause an ASan
488+
// error if their memory is reused without calling their destructor.
489+
// Unpoisoning the memory prevents this error from occurring.
489490
__asan_unpoison_memory_region(&Union, sizeof(T));
490491
#endif
491492
new (reinterpret_cast<T *>(&Union)) T(std::forward<U>(V)...);

0 commit comments

Comments
 (0)