summaryrefslogtreecommitdiff
path: root/base/include/android-base/stringprintf.h
AgeCommit message (Collapse)Author
2020-05-19Migrate system/core/base to system/libbaseBaligh Uddin
BUG: 148941208 test: TH Change-Id: I1134f1e9e968b9273748e2483bea8d25e5c9e994
2018-06-26libbase: switch to #pragma once.Elliott Hughes
Bug: N/A Test: builds Change-Id: I125498ac4257ac4e901c6f2a5f1bfac1432d859d
2018-06-26Simplify __attribute__((__printf__)) use.Elliott Hughes
We don't need this now everyone's using clang... Bug: http://b/69933068 Test: ran tests Change-Id: I88f0cf03981ade47e210387fd6f3a2706dfeb9b8
2018-06-25Do not customize __format__ for Windows/MinGW to gnu_printfPirama Arumuga Nainar
Bug: http://b/69933090 Bug: http://b/69933068 MinGW uses gnu_printf to force C99 printf analysis with GCC, but clang does not support gnu_printf. So just use the default that's used for other platforms. This also mirrors upstream commit https://sourceforge.net/p/mingw-w64/mingw-w64/ci/015e637b4b24d9915162ab877ed539ad0e657951/. Test: m native-host-cross with Clang. Change-Id: I3deb266d70e25296c4ae1d58637afbabc3d949c1
2018-01-09Add __attribute__((__format__)) to fastboot's die().Elliott Hughes
Also make the <android-base/stringprintf.h> macro less likely to collide. Bug: N/A Test: builds Change-Id: I868a0a0002c9c53c1ec0670153df2af5f48fd969
2016-03-23Fix <android-base/*.h> header guards.Elliott Hughes
I've been meaning to do this for a while, and it came up on the bug below that there have been conflicts with similar-named files in <base/*.h>, so let's rule out one possible explanation. Bug: http://b/27804373 Change-Id: I69e5d52b6260c573c308513420aee0e281426bd4
2015-12-07Rename base/ to android-base/.Elliott Hughes
Bug: http://b/26023797 Change-Id: Ie6c63bf86bed05faab87d290de6f34d9af3532a8