commit | 920f6572c648ad43a701f6a7b8bd413050f63dc0 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Oct 06 12:09:49 2022 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Mar 30 18:48:14 2023 -0700 |
tree | 652138650858109adbdba5a041c4e211e7a11826 | |
parent | 7dd4c76232939e595726f460efd9e11aa69b5b35 [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