diff options
author | Nikita Popov <npopov@redhat.com> | 2024-06-21 14:59:05 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-06-21 15:17:41 +0200 |
commit | 48ef912e2b32798b704af242e551a7090102c750 (patch) | |
tree | ccc82b0fd419a73209b3d8d73201a926a553bcff /clang | |
parent | df86fb069e130f405ca2e6124c725e6dd1d629c6 (diff) | |
download | llvm-48ef912e2b32798b704af242e551a7090102c750.zip llvm-48ef912e2b32798b704af242e551a7090102c750.tar.gz llvm-48ef912e2b32798b704af242e551a7090102c750.tar.bz2 |
[VFS] Avoid <stack> include (NFC)
Directly use a vector instead of wrapping it in a stack, like we
do in most places.
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Sema/SemaAPINotes.cpp | 1 | ||||
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 1 | ||||
-rw-r--r-- | clang/unittests/Support/TimeProfilerTest.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
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 <stack> 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 <deque> #include <memory> #include <optional> +#include <stack> #include <string> #include <utility> 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 <stack> #include "gtest/gtest.h" |