This patch adds override to several overriding virtual functions that were missing the keyword within the clang/ directory. NFC.
These were found by a Clang build equipped with -Wsuggest-override, as implemented in this patch (D82728).
Paths
| Differential D83611
[clang][NFC] Add 'override' keyword to virtual function overrides ClosedPublic Authored by logan-5 on Jul 10 2020, 7:24 PM.
Details Summary This patch adds override to several overriding virtual functions that were missing the keyword within the clang/ directory. NFC. These were found by a Clang build equipped with -Wsuggest-override, as implemented in this patch (D82728).
Diff Detail
Unit TestsFailed Event TimelineComment Actions Looks good - thanks! (I can't actually find where the instructions are on how to request commit access these days - but should you find them, I thin it'd be fine for you to have commit access for committing changes like this) This revision is now accepted and ready to land.Jul 13 2020, 4:39 PM Comment Actions
If you add/leave the "Differential Revision: https://reviews.llvm.org/DXXXX" line in the commit message (arc will add this line automatically) Phabricator will close the review for you automatically Comment Actions
Thanks--figured that out shortly after I did this one. :)
Revision Contents
Diff 277200 clang/include/clang/AST/DeclOpenMP.h
clang/lib/AST/Interp/InterpFrame.h
clang/lib/AST/OSLog.cpp
clang/lib/Basic/Targets/OSTargets.h
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
|
clang-format: please reformat the code