[clang] 06a05f3 - [NFC] remove duplicate ModuleId alias (#67899)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 07:43:57 PDT 2023


Author: David Stone
Date: 2023-10-03T22:43:51+08:00
New Revision: 06a05f334698c10a60459d30b4074fabedf72c48

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

LOG: [NFC] remove duplicate ModuleId alias (#67899)

[clang] Remove duplicate `ModuleId` alias

Added: 
    

Modified: 
    clang/lib/Lex/ModuleMap.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index e8437572ebf4bf6..f65a5f145c04395 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -1551,8 +1551,6 @@ namespace clang {
     /// (or the end of the file).
     void skipUntil(MMToken::TokenKind K);
 
-    using ModuleId = SmallVector<std::pair<std::string, SourceLocation>, 2>;
-
     bool parseModuleId(ModuleId &Id);
     void parseModuleDecl();
     void parseExternModuleDecl();


        


More information about the cfe-commits mailing list