From 94b84a60729e15ee071739c3aec7fdd781123aab Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 27 Apr 2025 13:23:19 -0400 Subject: Don't use double-quotes in #include's of system headers, redux. This cleans up some loose ends left by commit e8ca9ed1d. I hadn't looked closely enough at these places before, but now I have. The use of double-quoted #includes for Perl headers in plperl_system.h seems to be simply a mistake introduced in 6c944bf3c and faithfully copied forward since then. (I had thought possibly it was required by some weird Windows build setup, but there's no evidence of that in our history.) The occurrences in SectionMemoryManager.h and SectionMemoryManager.cpp evidently stem from those files' origin as LLVM code. It's understandable that LLVM would treat their own files as needing double-quoted #includes; but they're still system headers to us. I also applied the same check to *.c files, and found a few other random incorrect usages in both directions. Our ECPG headers and test files routinely use angle brackets to refer to ECPG headers. I left those usages alone, since it seems reasonable for an ECPG user to regard those headers as system headers. --- src/backend/jit/llvm/SectionMemoryManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/jit/llvm/SectionMemoryManager.cpp') diff --git a/src/backend/jit/llvm/SectionMemoryManager.cpp b/src/backend/jit/llvm/SectionMemoryManager.cpp index c4fbf15a961..2171db5f382 100644 --- a/src/backend/jit/llvm/SectionMemoryManager.cpp +++ b/src/backend/jit/llvm/SectionMemoryManager.cpp @@ -40,8 +40,8 @@ #ifdef USE_LLVM_BACKPORT_SECTION_MEMORY_MANAGER #include "jit/SectionMemoryManager.h" -#include "llvm/Support/MathExtras.h" -#include "llvm/Support/Process.h" +#include +#include namespace llvm { namespace backport { -- cgit v1.2.3