Commit d1c4a6d6 by Brian Salomon Committed by Commit Bot

Add final to class TIntermPreprocessorDirective

Suppresses this new warning in clang 10: IntermNode.h:971:37: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class] ~TIntermPreprocessorDirective() final; BUG=angleproject:3903 Change-Id: I26a2fe1440653c83cf1b0498ee3bff0829a10145 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1789930 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 8ac49e18
...@@ -963,7 +963,7 @@ enum class PreprocessorDirective ...@@ -963,7 +963,7 @@ enum class PreprocessorDirective
Endif, Endif,
}; };
class TIntermPreprocessorDirective : public TIntermNode class TIntermPreprocessorDirective final : public TIntermNode
{ {
public: public:
// This could also take an ImmutableString as an argument. // This could also take an ImmutableString as an argument.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment