From 7fc75112381488045e9b86fc15c37fb2dfaf9add Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Mon, 22 Jan 2018 07:15:24 -0800 Subject: [PATCH] [clang] blacklist `--expt-relaxed-constexpr` Summary: Unsupported flag is unsupported. Reviewed By: dulmarod Differential Revision: D6773101 fbshipit-source-id: 8167b6e --- infer/src/clang/ClangCommand.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infer/src/clang/ClangCommand.ml b/infer/src/clang/ClangCommand.ml index 99900cf45..cf71dce43 100644 --- a/infer/src/clang/ClangCommand.ml +++ b/infer/src/clang/ClangCommand.ml @@ -13,7 +13,9 @@ module L = Logging type t = {exec: string; argv: string list; orig_argv: string list; quoting_style: ClangQuotes.style} (** bad for every clang invocation *) -let clang_blacklisted_flags = ["-fembed-bitcode-marker"; "-fno-canonical-system-headers"] +let clang_blacklisted_flags = + ["--expt-relaxed-constexpr"; "-fembed-bitcode-marker"; "-fno-canonical-system-headers"] + let fcp_dir = Config.bin_dir ^/ Filename.parent_dir_name ^/ Filename.parent_dir_name