diff options
author | 2023-04-05 09:43:21 +0200 | |
---|---|---|
committer | 2023-04-05 09:48:42 +0200 | |
commit | 30759fafda169202ffa03a9373894f6b7c19079c (patch) | |
tree | 8ad1878092726e094226c25b4cf3affffa9c56de /compiler/optimizing/optimizing_unit_test.h | |
parent | a7ad4d81babac2c423b50d8c9f9f5fd51a09db78 (diff) |
Mark graph visitor classes as final.
This should improve optimization opportunities for clang++.
Test: buildbot-build.sh
Change-Id: Ib0c1ebfb157176a9063cca2ed465cff6fb280442
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
-rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index d0df4b89e5..f18ffc7f83 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -573,7 +573,7 @@ inline std::ostream& operator<<(std::ostream& oss, const AdjacencyListGraph& alg return alg.Dump(oss); } -class PatternMatchGraphVisitor : public HGraphVisitor { +class PatternMatchGraphVisitor final : public HGraphVisitor { private: struct HandlerWrapper { public: |