Skip to content

Commit f304785

Browse files
committed
Remove TMP comments.
1 parent d944252 commit f304785

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

clang/include/clang/Serialization/ASTWriter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ class ASTWriter : public ASTDeserializationListener,
224224
/// discovery) and start at 2. 1 is reserved for the translation
225225
/// unit, while 0 is reserved for NULL.
226226
llvm::DenseMap<const Decl *, LocalDeclID> DeclIDs;
227-
// TMP: ^ DeclIDs type for reference
228227

229228
/// Set of predefined decls. This is a helper data to determine if a decl
230229
/// is predefined. It should be more clear and safer to query the set

clang/lib/Serialization/ASTWriter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3925,7 +3925,6 @@ class ASTIdentifierTableTrait {
39253925
// Only emit declarations that aren't from a chained PCH, though.
39263926
SmallVector<NamedDecl *, 16> Decls(IdResolver->decls(II));
39273927
for (NamedDecl *D : llvm::reverse(Decls))
3928-
// TMP: corresponding `getDeclForLocalLookup` call
39293928
LE.write<DeclID>((DeclID)Writer.getDeclID(
39303929
getDeclForLocalLookup(PP.getLangOpts(), D)));
39313930
}
@@ -3970,7 +3969,6 @@ void ASTWriter::WriteIdentifierTable(Preprocessor &PP,
39703969
if (isLocalIdentifierID(ID) || II->hasChangedSinceDeserialization() ||
39713970
(Trait.needDecls() &&
39723971
II->hasFETokenInfoChangedSinceDeserialization()))
3973-
// TMP: ^ corresponding `hasFETokenInfoChangedSinceDeserialization` call
39743972
Generator.insert(II, ID, Trait);
39753973
}
39763974

@@ -6849,7 +6847,6 @@ LocalDeclID ASTWriter::GetDeclRef(const Decl *D) {
68496847
}
68506848

68516849
assert(!(reinterpret_cast<uintptr_t>(D) & 0x01) && "Invalid decl pointer");
6852-
// TMP: adding D to DeclIDs
68536850
LocalDeclID &ID = DeclIDs[D];
68546851
if (ID.isInvalid()) {
68556852
if (DoneWritingDeclsAndTypes) {

0 commit comments

Comments
 (0)