end2end: Fix clang-tidy build error [11/N]
The clang-tidy target is not built by default, only manually. We're interested in making sure it reports no lint errors. Something changed recently (likely a newer version of clang), and the `clang-analyzer-optin.cplusplus.UninitializedObject` check was incorrectly reporting that some of the fields deep inside fmtlib's internal `compile_parse_context` class were not being initialized by the ctor, when clearly they were. As end2end test code uses fmtlib all over the place, the easiest quick fix is to just disable that check through the clang-tidy configuration in the Android.bp file for the build target. A proper fix will require reporting the failure upstream, with some good reproduction steps. Flag: TEST_ONLY Bug: 372735083 Test: m tidy-frameworks-native-services-surfaceflinger-tests-end2end Change-Id: Ibb00ea37b97cc8980dd14c5eb2478d562fd0a8fb
Loading
Please register or sign in to comment