platform_bionic/libc/include
Josh Gao 8e13b67c64 versioner: properly handle extern "C", "C++".
extern "C" and "C++" are parsed as a LinkageSpecDecl with the real Decl
as a child node. This leads to the preprocessor sticking its guard
between the extern specifier and the declaration.

Update the AST visitor to add a special-case for calculating the
SourceRange on a LinkageSpecDecl, and add a test.

Bug: https://github.com/android-ndk/ndk/issues/440
Test: python run_tests.py
Change-Id: I76445fe366cef46cfd2f16fb93d534d410c5edca
2017-11-06 17:23:36 -08:00
..
android Revert "Revert "Revert "Cleanup transitive includes in the legacy inlines.""" 2017-10-24 09:20:41 +00:00
arpa Name function arguments in libc headers for Studio. 2017-08-21 14:51:59 -07:00
bits Merge "Implement pthread_attr_getinheritsched/pthread_attr_setinheritsched." 2017-10-26 16:12:04 +00:00
net Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
netinet Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
netpacket
sys libc: Disable FORTIFY if we're using clang-tidy. 2017-10-30 22:30:40 -07:00
alloca.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
ar.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
assert.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
byteswap.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
complex.h Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
cpio.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
ctype.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
dirent.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
dlfcn.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
elf.h Add missing ELF constants from the spec. 2017-10-31 17:26:48 -07:00
endian.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
err.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
errno.h Remove volatile from the __errno declaration. 2017-06-13 16:02:07 -07:00
error.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
fcntl.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
fenv.h Unified sysroot: kill arch-specific include dirs. 2017-10-12 13:19:51 -07:00
fnmatch.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
fts.h Pretend the <fts.h> functions didn't appear until 21. 2017-08-25 15:18:33 -07:00
ftw.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
getopt.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
glob.h Add <glob.h>. 2017-09-26 18:46:09 -07:00
grp.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
iconv.h Implement <iconv.h>. 2017-08-25 08:47:41 -07:00
ifaddrs.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
inttypes.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
langinfo.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
lastlog.h Fix various empty .h files in bionic. 2016-04-29 22:30:19 -07:00
libgen.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
limits.h More <limits.h> fixes. 2017-10-18 13:27:01 -07:00
link.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
locale.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
malloc.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
math.h Remove some legacy declarations from <math.h>. 2017-10-19 14:15:31 -07:00
memory.h
mntent.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
netdb.h Complete <netdb.h>. 2017-10-15 10:37:51 -07:00
nl_types.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
paths.h libc: Add support to allow library calls to find appropriate shell executable for a process 2017-08-22 10:17:28 -07:00
poll.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
pthread.h Implement pthread_attr_getinheritsched/pthread_attr_setinheritsched. 2017-10-25 14:28:42 -07:00
pty.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
pwd.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
regex.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
resolv.h Name function arguments in libc headers for Studio. 2017-08-21 14:51:59 -07:00
sched.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
search.h Finish <search.h>. 2017-08-31 17:38:51 -07:00
semaphore.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
setjmp.h Unified sysroot: kill arch-specific include dirs. 2017-10-12 13:19:51 -07:00
signal.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
spawn.h Implement <spawn.h>. 2017-10-11 14:57:49 -07:00
stdatomic.h Guard include of uchar.h in stdatomic.h 2016-08-04 18:22:12 +00:00
stdint.h Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdio.h More missing _unlocked <stdio.h> functions. 2017-10-31 13:23:41 -07:00
stdio_ext.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
stdlib.h Rename _Exit in a way that works with libandroid_support. 2017-09-19 18:34:40 +00:00
string.h versioner: properly handle extern "C", "C++". 2017-11-06 17:23:36 -08:00
strings.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
syscall.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysexits.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
syslog.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
tar.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
termio.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
termios.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
time.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
uchar.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
ucontext.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
unistd.h Merge "Add POSIX swab." 2017-10-19 21:49:29 +00:00
utime.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
utmp.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
wait.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wchar.h Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
wctype.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
xlocale.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00