aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-04-19 16:22:04 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-04-19 16:24:47 +0800
commitaac695da42cf48ccb29c2fe495ead564cc913471 (patch)
treea098ddfcd2c5dcecf38a0d790922e6c780ba048d /clang/lib/Frontend/CompilerInvocation.cpp
parent14122106320b88f114301bbf8694ceac9bb7a27a (diff)
downloadllvm-aac695da42cf48ccb29c2fe495ead564cc913471.zip
llvm-aac695da42cf48ccb29c2fe495ead564cc913471.tar.gz
llvm-aac695da42cf48ccb29c2fe495ead564cc913471.tar.bz2
[NFC] [Serialization] Use semantical type 'DeclID' for 'CreateDeserialized'
Previously we use 'unsigned' as the type of ID in 'CreateDeserialized'. And the type of `DeclID` in serialization is 'uint32_t', so there is minor inconsistency. Also more importantly, if we want to extend the type of DeclID from uint32_t to uint64_t, we may be in trouble due to we forgot updating the a lot of 'CreateDeserialized'. So this patch tries to use semantical type 'DeclID' for '*Decl::CreateDeserialized' to make sure it is tightly consistent.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions