[libc-commits] [libc] 3ae5c77 - [libc] Move include so it covers the other files

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Apr 2 17:45:42 PDT 2024


Author: Joseph Huber
Date: 2024-04-02T19:45:35-05:00
New Revision: 3ae5c77e976c02ce9e575870e4316af51fe97075

URL: https://github.com/llvm/llvm-project/commit/3ae5c77e976c02ce9e575870e4316af51fe97075
DIFF: https://github.com/llvm/llvm-project/commit/3ae5c77e976c02ce9e575870e4316af51fe97075.diff

LOG: [libc] Move include so it covers the other files

Summary:
This is more hacky, but I want to get the bot green before we work on a
better solution.

Added: 
    

Modified: 
    libc/src/stdio/printf_core/core_structs.h

Removed: 
    


################################################################################
diff  --git a/libc/src/stdio/printf_core/core_structs.h b/libc/src/stdio/printf_core/core_structs.h
index b77b304a697c9c..bfe362becad1e0 100644
--- a/libc/src/stdio/printf_core/core_structs.h
+++ b/libc/src/stdio/printf_core/core_structs.h
@@ -9,10 +9,11 @@
 #ifndef LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CORE_STRUCTS_H
 #define LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CORE_STRUCTS_H
 
+#include "src/__support/macros/config.h"
+
 #include "src/__support/CPP/string_view.h"
 #include "src/__support/CPP/type_traits.h"
 #include "src/__support/FPUtil/FPBits.h"
-#include "src/__support/macros/config.h"
 #include "src/stdio/printf_core/printf_config.h"
 
 #include <inttypes.h>


        


More information about the libc-commits mailing list