[clang] f3cfd38 - [AST] Stop including llvm/ADT/StringMap.h (NFC)

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 18:22:51 PDT 2023


Author: Kazu Hirata
Date: 2023-10-13T18:22:42-07:00
New Revision: f3cfd3812b4a721fcf1be0e242a31d547c908459

URL: https://github.com/llvm/llvm-project/commit/f3cfd3812b4a721fcf1be0e242a31d547c908459
DIFF: https://github.com/llvm/llvm-project/commit/f3cfd3812b4a721fcf1be0e242a31d547c908459.diff

LOG: [AST] Stop including llvm/ADT/StringMap.h (NFC)

The last use of StringMap was removed by:

  commit 20157410862d376c624cc24bffd9730290a16142
  Author: Vince Bridgers <vince.a.bridgers at gmail.com>
  Date:   Thu Jul 16 12:55:32 2020 -0500

Added: 
    

Modified: 
    clang/unittests/AST/ASTImporterTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index 393ed44de3f1831..325c585e0e1164f 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/unittests/AST/ASTImporterTest.cpp
@@ -12,7 +12,6 @@
 
 #include "clang/AST/RecordLayout.h"
 #include "clang/ASTMatchers/ASTMatchers.h"
-#include "llvm/ADT/StringMap.h"
 #include "llvm/Support/SmallVectorMemoryBuffer.h"
 
 #include "clang/AST/DeclContextInternals.h"
@@ -26,7 +25,6 @@ namespace ast_matchers {
 
 using internal::Matcher;
 using internal::BindableMatcher;
-using llvm::StringMap;
 
 static const RecordDecl *getRecordDeclOfFriend(FriendDecl *FD) {
   QualType Ty = FD->getFriendType()->getType().getCanonicalType();


        


More information about the cfe-commits mailing list