From b384d6d6ccc8f4452cd7086061c657ce76b41224 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 3 Apr 2025 14:04:19 +0800 Subject: [CodeGen] Don't include CGDebugInfo.h in CodeGenFunction.h (NFC) (#134100) This is an expensive header, only include it where needed. Move some functions out of line to achieve that. This reduces time to build clang by ~0.5% in terms of instructions retired. --- clang/lib/CodeGen/CGExprComplex.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CGExprComplex.cpp') diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 184a35573404..f556594f4a9e 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -10,6 +10,7 @@ // //===----------------------------------------------------------------------===// +#include "CGDebugInfo.h" #include "CGOpenMPRuntime.h" #include "CodeGenFunction.h" #include "CodeGenModule.h" -- cgit v1.2.3