Lines Matching +full:libclang +full:- +full:version
3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
78 """Find the latest clang version and return the full path"""
79 base_path = android_path('prebuilts/clang/host/linux-x86/')
80 files = [f for f in os.listdir(base_path) if f.startswith('clang-r')]
81 # TODO: Don't use sort() because it assumes the same number of digits in the version name
84 print("Using clang version %s" % selected)
90 """Return the libclang.so path"""
92 files = [f for f in os.listdir(base_path) if f.startswith('libclang.so')]
107 site.addsitedir(os.path.join(CLANG_PATH, 'lib/python3/site-packages/'))
108 import clang.cindex # pylint: disable=import-error,wrong-import-position
119 self.va_list_insert_position = -1
125 self.last_param = self.params[-1][1]
197 # Configures libclang to load in our environment
198 # Set up LD_LIBRARY_PATH to include libclang.so, libLLVM.so, etc. Note
206 their corresponding v- versions that accept a va_list argument. Note that
207 although '...' will always appear as the last parameter, its v- version
248 '-x',
250 '-std=c99',
251 '-DU_DISABLE_RENAMING=1',
252 '-DU_SHOW_CPLUSPLUS_API=0',
253 '-DU_HIDE_DRAFT_API',
254 '-DU_HIDE_DEPRECATED_API',
255 '-DU_HIDE_INTERNAL_API',
256 '-DANDROID_LINK_SHARED_ICU4C',
268 clang_flags.append('-I' + include_dir)
324 # The key must be a ICU4C header, but the value could contain non-ICU4C headers, e.g.
349 if header in header_dependencies: # Do not care non-icu4c headers
480 # their corresponding v- versions that accept a va_list argument. Note that
481 # although '...' will always appear as the last parameter, its v- version