Commit be3d7230 authored by George Burgess IV's avatar George Burgess IV
Browse files

Fix static analyzer warnings

This fixes warnings like:

runtime/arch/*/context_*.h: warning: Call to virtual function during
construction will not dispatch to derived class

These occur because clang can't tell whether these Context subclasses
themselves have subclasses. Since they're effectively final already, the
simplest fix is to mark them as final.

Bug: 32619234
Test: test-art-host. Rebuilt ART with the analyzer to verify that these
issues are gone.
Change-Id: Idcdd8387e16869564999ca318692dfcc90006b8d
parent b96ed2c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment