We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30e5be commit 442bc63Copy full SHA for 442bc63
llvm/include/llvm/Support/JSON.h
@@ -50,6 +50,7 @@
50
#include "llvm/ADT/SmallVector.h"
51
#include "llvm/ADT/StringRef.h"
52
#include "llvm/ADT/STLFunctionalExtras.h"
53
+#include "llvm/Support/Compiler.h"
54
#include "llvm/Support/Error.h"
55
#include "llvm/Support/FormatVariadic.h"
56
#include "llvm/Support/raw_ostream.h"
@@ -482,7 +483,7 @@ class Value {
482
483
friend class Object;
484
485
template <typename T, typename... U> void create(U &&... V) {
-#if defined(LLVM_ADDRESS_SANITIZER_BUILD)
486
+#if LLVM_ADDRESS_SANITIZER_BUILD
487
// Unpoisoning to prevent overwriting poisoned object (e.g., annotated short
488
// string). Objects that have had their memory poisoned may cause an ASan
489
// error if their memory is reused without calling their destructor.
0 commit comments