[inferbo] Remove dead macro definition

Summary: The macro is dead. It had been used when Inferbo had include-based C++ models.

Reviewed By: jvillard

Differential Revision: D20309031

fbshipit-source-id: bcfd8f923
master
Sungkeun Cho 5 years ago committed by Facebook Github Bot
parent 957337bba2
commit 984c47cefe

@ -174,11 +174,6 @@ let clang_cc1_cmd_sanitizer cmd =
| _ -> | _ ->
arg arg
in in
let args_defines =
if Config.is_checker_enabled BufferOverrun && not (Config.is_checker_enabled Biabduction) then
["-D__INFER_BUFFEROVERRUN"]
else []
in
let explicit_sysroot_passed = has_flag cmd "-isysroot" in let explicit_sysroot_passed = has_flag cmd "-isysroot" in
(* supply isysroot only when SDKROOT is not set up and explicit isysroot is not provided, (* supply isysroot only when SDKROOT is not set up and explicit isysroot is not provided,
cf. https://lists.apple.com/archives/xcode-users/2005/Dec/msg00524.html cf. https://lists.apple.com/archives/xcode-users/2005/Dec/msg00524.html
@ -192,7 +187,6 @@ let clang_cc1_cmd_sanitizer cmd =
let post_args_rev = let post_args_rev =
[] []
|> List.rev_append ["-include"; Config.lib_dir ^/ "clang_wrappers" ^/ "global_defines.h"] |> List.rev_append ["-include"; Config.lib_dir ^/ "clang_wrappers" ^/ "global_defines.h"]
|> List.rev_append args_defines
|> (* Never error on warnings. Clang is often more strict than Apple's version. These arguments |> (* Never error on warnings. Clang is often more strict than Apple's version. These arguments
are appended at the end to override previous opposite settings. How it's done: suppress are appended at the end to override previous opposite settings. How it's done: suppress
all the warnings, since there are no warnings, compiler can't elevate them to error all the warnings, since there are no warnings, compiler can't elevate them to error

Loading…
Cancel
Save