From 979da9a4c3ba435b384a11af7bd3154b0309b487 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 15 Nov 2019 16:36:00 -0800 Subject: Avoid including Builtins.h in Preprocessor.h Builtins are rarely if ever accessed via the Preprocessor. They are typically found on the ASTContext, so there should be no performance penalty to using a pointer indirection to store the builtin context. --- clang/lib/Sema/SemaExpr.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Sema/SemaExpr.cpp') diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index e10331d0741..76f500f077e 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -25,6 +25,7 @@ #include "clang/AST/ExprOpenMP.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/AST/TypeLoc.h" +#include "clang/Basic/Builtins.h" #include "clang/Basic/FixedPoint.h" #include "clang/Basic/PartialDiagnostic.h" #include "clang/Basic/SourceManager.h" -- cgit v1.2.3