From bbebe7f5a40c456cdaec02590afa90ef490fea02 Mon Sep 17 00:00:00 2001 From: Mitch Phillips Date: Thu, 3 Nov 2022 18:04:19 +0000 Subject: [PATCH] Remove deprecated experimental-new-pass-manager flag. https://reviews.llvm.org/D136789 removed this flag, it's been a no-op since 15.0.0. The current Android compiler is 15.0.3, but upcoming compilers will error on the fact that this flag doesn't exist any more. Change-Id: I54666175b521ed5cdd76c53ed700ad4ddf6931da Test: make Bug: N/A --- cc/config/global.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index cf6041427..9f1878445 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -76,9 +76,6 @@ var ( // Help catch common 32/64-bit errors. "-Werror=int-conversion", - // Enable the new pass manager. - "-fexperimental-new-pass-manager", - // Disable overly aggressive warning for macros defined with a leading underscore // This happens in AndroidConfig.h, which is included nearly everywhere. // TODO: can we remove this now?