aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-05-13 13:56:25 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-05-13 14:05:02 +0800
commite74a34b6932965dfdc182b69f779e5bee551585a (patch)
treea6a3f7ffd7056012f9e55d3f09cfbb5c6ed83716 /clang/lib/Frontend/FrontendAction.cpp
parente6785fd75284f53b9e23db6f249598e09f3fc39f (diff)
downloadllvm-e74a34b6932965dfdc182b69f779e5bee551585a.zip
llvm-e74a34b6932965dfdc182b69f779e5bee551585a.tar.gz
llvm-e74a34b6932965dfdc182b69f779e5bee551585a.tar.bz2
[NFC] [Serialization] Merge IdentID with IdentifierID
In ASTBitCodes.h, there are two type alias for the ID type of Identifiers with the same underlying type. It is confusing. This patch tries to merge the `IdentID` to `IdentifierID` to erase such confusion.
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
-rw-r--r--clang/lib/Frontend/FrontendAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index 9ae7664..a9c45e5 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/lib/Frontend/FrontendAction.cpp
@@ -71,7 +71,7 @@ public:
if (Previous)
Previous->ReaderInitialized(Reader);
}
- void IdentifierRead(serialization::IdentID ID,
+ void IdentifierRead(serialization::IdentifierID ID,
IdentifierInfo *II) override {
if (Previous)
Previous->IdentifierRead(ID, II);