[llvm] 18d1991 - Stop including llvm/ADT/STLFunctionalExtras.h (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 20:51:10 PDT 2023
Author: Kazu Hirata
Date: 2023-10-13T20:50:58-07:00
New Revision: 18d199116fe2150549110da68ac0ca8cfd80f9c8
URL: https://github.com/llvm/llvm-project/commit/18d199116fe2150549110da68ac0ca8cfd80f9c8
DIFF: https://github.com/llvm/llvm-project/commit/18d199116fe2150549110da68ac0ca8cfd80f9c8.diff
LOG: Stop including llvm/ADT/STLFunctionalExtras.h (NFC)
These source files do not use function_ref.
Added:
Modified:
clang/include/clang/Analysis/FlowSensitive/Formula.h
clang/lib/ExtractAPI/API.cpp
llvm/include/llvm/IRReader/IRReader.h
llvm/include/llvm/Support/ThreadSafeAllocator.h
llvm/tools/llvm-readobj/ObjDumper.h
openmp/libomptarget/include/Utilities.h
Removed:
################################################################################
diff --git a/clang/include/clang/Analysis/FlowSensitive/Formula.h b/clang/include/clang/Analysis/FlowSensitive/Formula.h
index 51264444fda8440..9a6c6d2b2f45f58 100644
--- a/clang/include/clang/Analysis/FlowSensitive/Formula.h
+++ b/clang/include/clang/Analysis/FlowSensitive/Formula.h
@@ -13,7 +13,6 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseMapInfo.h"
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
diff --git a/clang/lib/ExtractAPI/API.cpp b/clang/lib/ExtractAPI/API.cpp
index 2973a31345c9b2d..71c655ba5b5b32c 100644
--- a/clang/lib/ExtractAPI/API.cpp
+++ b/clang/lib/ExtractAPI/API.cpp
@@ -17,7 +17,6 @@
#include "clang/AST/CommentLexer.h"
#include "clang/AST/RawCommentList.h"
#include "clang/Index/USRGeneration.h"
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
diff --git a/llvm/include/llvm/IRReader/IRReader.h b/llvm/include/llvm/IRReader/IRReader.h
index 644fea82bfbe056..4d690dcaf1c43e3 100644
--- a/llvm/include/llvm/IRReader/IRReader.h
+++ b/llvm/include/llvm/IRReader/IRReader.h
@@ -14,7 +14,6 @@
#ifndef LLVM_IRREADER_IRREADER_H
#define LLVM_IRREADER_IRREADER_H
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include <memory>
diff --git a/llvm/include/llvm/Support/ThreadSafeAllocator.h b/llvm/include/llvm/Support/ThreadSafeAllocator.h
index 3092287e691f754..8c56bb6e5803d5f 100644
--- a/llvm/include/llvm/Support/ThreadSafeAllocator.h
+++ b/llvm/include/llvm/Support/ThreadSafeAllocator.h
@@ -10,7 +10,6 @@
#define LLVM_SUPPORT_THREADSAFEALLOCATOR_H
#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/Support/Allocator.h"
#include <atomic>
diff --git a/llvm/tools/llvm-readobj/ObjDumper.h b/llvm/tools/llvm-readobj/ObjDumper.h
index a44fa42b85c9b0e..fe588047e962cd9 100644
--- a/llvm/tools/llvm-readobj/ObjDumper.h
+++ b/llvm/tools/llvm-readobj/ObjDumper.h
@@ -13,7 +13,6 @@
#include <memory>
#include <system_error>
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
diff --git a/openmp/libomptarget/include/Utilities.h b/openmp/libomptarget/include/Utilities.h
index 7f2884ed7ea06ff..82593e206e4d032 100644
--- a/openmp/libomptarget/include/Utilities.h
+++ b/openmp/libomptarget/include/Utilities.h
@@ -14,7 +14,6 @@
#ifndef OPENMP_LIBOMPTARGET_INCLUDE_UTILITIES_H
#define OPENMP_LIBOMPTARGET_INCLUDE_UTILITIES_H
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
More information about the llvm-commits
mailing list