]> granicus.if.org Git - clang/commitdiff
[analyzer] Restore final on NeedsCastLocField. NFC
authorIlya Biryukov <ibiryukov@google.com>
Fri, 14 Sep 2018 11:28:48 +0000 (11:28 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 14 Sep 2018 11:28:48 +0000 (11:28 +0000)
To fix compiler warning about non-virtual dtor introduced in r342221.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342225 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp

index f60fc0dfe0fc9d1c0b72018e617a2d1a5d45694a..623ba6b3ff633d7e55343b0de9d8351680c1dcf2 100644 (file)
@@ -59,7 +59,7 @@ public:
 
 /// Represents a nonloc::LocAsInteger or void* field, that point to objects, but
 /// needs to be casted back to its dynamic type for a correct note message.
-class NeedsCastLocField : public FieldNode {
+class NeedsCastLocField final : public FieldNode {
   QualType CastBackType;
 
 public: