We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e512833 commit 11d5c4dCopy full SHA for 11d5c4d
clang-tools-extra/clang-doc/Serialize.cpp
@@ -246,9 +246,9 @@ static TypeInfo getTypeInfoForType(const QualType &T,
246
return TypeInfo(Reference(SymbolID(), T.getAsString(Policy)));
247
248
InfoType IT;
249
- if (dyn_cast<EnumDecl>(TD)) {
+ if (isa<EnumDecl>(TD)) {
250
IT = InfoType::IT_enum;
251
- } else if (dyn_cast<RecordDecl>(TD)) {
+ } else if (isa<RecordDecl>(TD)) {
252
IT = InfoType::IT_record;
253
} else {
254
IT = InfoType::IT_default;
0 commit comments