| commit | 71ba4b37056733c078fafae83cabeaa00bb19f8e | [log] [tgz] |
|---|---|---|
| author | Andy Hung <hunga@google.com> | Thu Oct 06 12:09:49 2022 -0700 |
| committer | Andy Hung <hunga@google.com> | Fri Mar 31 18:33:13 2023 -0700 |
| tree | 07fd82556f2d125ceb412a2256f765ef862e770f | |
| parent | 2526b75e2493613042060fa60ffe96303733c3df [diff] [blame] |
AudioFlinger: Add clang tidy checks on build First pass just enables warnings. Test: compiles Bug: 252907478 Merged-In: I3d0622ab908b85adb1913d8482d55e1950fdccc0 Change-Id: I3d0622ab908b85adb1913d8482d55e1950fdccc0
diff --git a/services/audioflinger/StateQueue.cpp b/services/audioflinger/StateQueue.cpp index 9d4188f..38ce2c2 100644 --- a/services/audioflinger/StateQueue.cpp +++ b/services/audioflinger/StateQueue.cpp
@@ -187,7 +187,9 @@ } // namespace android -// hack for gcc +// Hack to avoid explicit template instantiation of +// template class StateQueue<FastCaptureState>; +// template class StateQueue<FastMixerState>; #ifdef STATE_QUEUE_INSTANTIATIONS -#include STATE_QUEUE_INSTANTIATIONS +#include STATE_QUEUE_INSTANTIATIONS // NOLINT(bugprone-suspicious-include) #endif