[llvm] 60bdcc0 - [GraphWriter] Add missing ManagedStatic.h include (NFC)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 07:16:56 PDT 2024


Author: Nikita Popov
Date: 2024-06-21T16:16:04+02:00
New Revision: 60bdcc02ad19045ebb71ce8e48a316882c9b4e7e

URL: https://github.com/llvm/llvm-project/commit/60bdcc02ad19045ebb71ce8e48a316882c9b4e7e
DIFF: https://github.com/llvm/llvm-project/commit/60bdcc02ad19045ebb71ce8e48a316882c9b4e7e.diff

LOG: [GraphWriter] Add missing ManagedStatic.h include (NFC)

This include is only necessary on __APPLE__.

Added: 
    

Modified: 
    llvm/lib/Support/GraphWriter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index 5583ca18ab20f..e353ab86b5e80 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -28,6 +28,7 @@
 
 #ifdef __APPLE__
 #include "llvm/Support/CommandLine.h"
+#include "llvm/Support/ManagedStatic.h"
 #endif
 
 #include <string>


        


More information about the llvm-commits mailing list