summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2017-10-30 21:41:22 -0700
committerGeorge Burgess IV <gbiv@google.com>2017-10-30 22:30:40 -0700
commite5d66eb86a46b8ef1a8d03b322096328b063d3c0 (patch)
tree30d36213904915e77b508318352ebe02611069ab /libc/stdio/stdio.cpp
parent82e6ad1242c6a26fb624dc81a42edf6272dd27b7 (diff)
libc: Disable FORTIFY if we're using clang-tidy.
Having FORTIFY enabled for clang-tidy adds no value, and breaks some heuristics for recognizing standard library functions (see the bug). This also disables FORTIFY for the static analyzer (which we use through clang-tidy), because it presumably tries to recognize standard library functions through similar heuristics. Bug: 36664104 Test: mma with and without the patch to cdefs. New test breaks without. Change-Id: I40c66ff9e638b306878ada006bc2c98f2346e77a
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions