[clang] remove duplicate ModuleId alias (PR #67899)

via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 30 21:27:31 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-modules

<details>
<summary>Changes</summary>

[clang] Remove duplicate `ModuleId` alias


---
Full diff: https://github.com/llvm/llvm-project/pull/67899.diff


1 Files Affected:

- (modified) clang/lib/Lex/ModuleMap.cpp (-2) 


``````````diff
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();

``````````

</details>


https://github.com/llvm/llvm-project/pull/67899


More information about the cfe-commits mailing list