From 48ef912e2b32798b704af242e551a7090102c750 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 21 Jun 2024 14:59:05 +0200 Subject: [VFS] Avoid include (NFC) Directly use a vector instead of wrapping it in a stack, like we do in most places. --- clang/lib/Sema/SemaAPINotes.cpp | 1 + clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 1 + clang/unittests/Support/TimeProfilerTest.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'clang') diff --git a/clang/lib/Sema/SemaAPINotes.cpp b/clang/lib/Sema/SemaAPINotes.cpp index bc1628f..d535cb3 100644 --- a/clang/lib/Sema/SemaAPINotes.cpp +++ b/clang/lib/Sema/SemaAPINotes.cpp @@ -18,6 +18,7 @@ #include "clang/Sema/SemaInternal.h" #include "clang/Sema/SemaObjC.h" #include "clang/Sema/SemaSwift.h" +#include using namespace clang; diff --git a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp index 487a3bd..4ff4f7d 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp @@ -59,6 +59,7 @@ #include #include #include +#include #include #include diff --git a/clang/unittests/Support/TimeProfilerTest.cpp b/clang/unittests/Support/TimeProfilerTest.cpp index 97fdbb7..5f3950f 100644 --- a/clang/unittests/Support/TimeProfilerTest.cpp +++ b/clang/unittests/Support/TimeProfilerTest.cpp @@ -12,6 +12,7 @@ #include "llvm/Support/JSON.h" #include "llvm/Support/TimeProfiler.h" +#include #include "gtest/gtest.h" -- cgit v1.1