android_system_core/base
Dan Albert 459df8f3a1 Turn on -Wformat-nonliteral.
Apparently there are two classes of this warning in clang.
-Wformat-security is only emitted for cases of
`func(nonliteral_fmt_string)` (no args), and -Wformat-nonliteral is
emitted for cases *with* arguments. For whatever reason, the latter
isn't included in -Wextra and must be manually enabled.

To make this more easily portable to Windows, move the existing
gnu_printf/__printf__ decision into base/macros.h as ATTRIBUTE_FORMAT.

Change-Id: I3b0990e1d1f0a2e9c13b32f5cd60478946cb5fc6
2015-07-09 10:47:24 -07:00
..
include/base Turn on -Wformat-nonliteral. 2015-07-09 10:47:24 -07:00
.clang-format Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
Android.mk Support base::logging on Windows. 2015-04-29 18:01:53 -07:00
CPPLINT.cfg Don't show lint errors for rvalue references. 2015-04-02 18:38:01 -07:00
file.cpp Don't use TEMP_FAILURE_RETRY on close() 2015-05-20 09:02:29 -07:00
file_test.cpp Fix comparison between signed and unsigned error on darwin 2015-04-30 16:58:26 -07:00
logging.cpp adb / libbase: clean up NOGDI and evil ERROR macro 2015-05-20 12:25:19 -07:00
logging_test.cpp Support base::logging on Windows. 2015-04-29 18:01:53 -07:00
stringprintf.cpp Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
stringprintf_test.cpp Get libbase tests working on Windows. 2015-04-29 17:11:28 -07:00
strings.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
strings_test.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
test_main.cpp Support base::logging on Windows. 2015-04-29 18:01:53 -07:00
test_utils.cpp Get libbase tests working on Windows. 2015-04-29 17:11:28 -07:00
test_utils.h Add google3 style logging to libbase. 2015-03-20 14:04:35 -07:00