versioner: Migrate to clang-r370808

Bug: 139945549
Test: lunch aosp_arm64-userdebug && \
      m versioner && \
      PATH=out/host/linux-x86/bin:$PATH \
      ./bionic/tools/versioner/run_tests.py

Change-Id: I1a548de9d1ce82aee30144a359e215a4daf5fc2b
diff --git a/tools/versioner/src/Driver.cpp b/tools/versioner/src/Driver.cpp
index bad63ad..927a0f5 100644
--- a/tools/versioner/src/Driver.cpp
+++ b/tools/versioner/src/Driver.cpp
@@ -242,8 +242,7 @@
   auto diags = constructDiags();
   std::vector<const char*> cc1_flags = getCC1Command(type, filename);
   auto invocation = std::make_unique<CompilerInvocation>();
-  if (!CompilerInvocation::CreateFromArgs(*invocation.get(), &cc1_flags.front(),
-                                          &cc1_flags.front() + cc1_flags.size(), *diags)) {
+  if (!CompilerInvocation::CreateFromArgs(*invocation.get(), cc1_flags, *diags)) {
     errx(1, "failed to create CompilerInvocation");
   }