[infer][clang] models off-by-default

Reviewed By: jeremydubreil

Differential Revision: D7350715

fbshipit-source-id: e1d28ef
master
Sam Blackshear 7 years ago committed by Facebook Github Bot
parent 1a7c5a1493
commit f621dda0be

@ -968,7 +968,7 @@ and current_to_previous_script =
and cxx_infer_headers = and cxx_infer_headers =
CLOpt.mk_bool ~long:"cxx-infer-headers" ~default:true CLOpt.mk_bool ~long:"cxx-infer-headers" ~default:false
~in_help:InferCommand.([(Capture, manual_clang)]) ~in_help:InferCommand.([(Capture, manual_clang)])
"Include C++ header models during compilation. Infer swaps some C++ headers for its own in \ "Include C++ header models during compilation. Infer swaps some C++ headers for its own in \
order to get a better model of, eg, the standard library. This can sometimes cause \ order to get a better model of, eg, the standard library. This can sometimes cause \

@ -24,7 +24,7 @@ CLEAN_EXTRA = $(DOT_FILES) $(foreach source,$(SOURCES),infer-out-$(basename $(no
include $(TESTS_DIR)/clang-frontend.make include $(TESTS_DIR)/clang-frontend.make
INFER_OPTIONS = capture --frontend-tests --skip-translation-headers exclude_dir INFER_OPTIONS = capture --frontend-tests --skip-translation-headers exclude_dir --cxx-infer-headers
capture: $(DOT_FILES) capture: $(DOT_FILES)

@ -12,7 +12,7 @@ ANALYZER = checkers
# use our own clang's standard library so that the tests are uniform across distributions # use our own clang's standard library so that the tests are uniform across distributions
CLANG_OPTIONS = -x c++ -std=c++1y -isystem$(ROOT_DIR) -c CLANG_OPTIONS = -x c++ -std=c++1y -isystem$(ROOT_DIR) -c
INFER_OPTIONS = --biabduction-only --ml-buckets cpp --debug-exceptions --project-root $(TESTS_DIR) \ INFER_OPTIONS = --biabduction-only --ml-buckets cpp --debug-exceptions --project-root $(TESTS_DIR) \
--pmd-xml --report-custom-error --pmd-xml --report-custom-error --cxx-infer-headers
INFERPRINT_OPTIONS = --issues-tests INFERPRINT_OPTIONS = --issues-tests
SOURCES = \ SOURCES = \

Loading…
Cancel
Save