File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
clang/lib/StaticAnalyzer/Checkers/WebKit Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,8 @@ std::optional<bool> isUnchecked(const QualType T) {
209209 return isUnchecked (T->getAsCXXRecordDecl ());
210210}
211211
212- void RetainTypeChecker::visitTranslationUnitDecl (const TranslationUnitDecl *TUD) {
212+ void RetainTypeChecker::visitTranslationUnitDecl (
213+ const TranslationUnitDecl *TUD) {
213214 IsARCEnabled = TUD->getLangOpts ().ObjCAutoRefCount ;
214215}
215216
Original file line number Diff line number Diff line change @@ -69,8 +69,9 @@ std::optional<bool> isUnchecked(const clang::QualType T);
6969// / An inter-procedural analysis facility that detects CF types with the
7070// / underlying pointer type.
7171class RetainTypeChecker {
72- llvm::DenseSet<const RecordType*> CFPointees;
72+ llvm::DenseSet<const RecordType *> CFPointees;
7373 bool IsARCEnabled{false };
74+
7475public:
7576 void visitTranslationUnitDecl (const TranslationUnitDecl *);
7677 void visitTypedef (const TypedefDecl *);
You can’t perform that action at this time.
0 commit comments