Lines Matching +full:libclang +full:- +full:version
2 # Use of this source code is governed by a BSD-style license that can be
19 # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
42 # C compilation targets determine the correct list of -D and -I flags based
83 "--exe",
85 "--header",
87 "--depfile",
89 "--output",
91 "--libclang-path",
99 "--ld-library-path",
105 args += [ "--bindgen-flags" ]
112 "--",
119 # libclang will run the system `clang` to find the "resource dir" which it
120 # places before the directory specified in `-isysroot`.
121 …# https://github.com/llvm/llvm-project/blob/699e0bed4bfead826e210025bf33e5a1997c018b/clang/lib/Too…
131 "-resource-dir",
154 args += [ "/clang:-fparse-all-comments" ]
156 args += [ "-fparse-all-comments" ]
159 # Default configs include "-fvisibility=hidden", and for some reason this
162 args += [ "-fvisibility=default" ]
166 # We pass MSVC style flags to clang on Windows, and libclang needs to be
168 args += [ "--driver-mode=cl" ]
170 # On Windows, libclang adds arguments that it then fails to understand.
171 # -fno-spell-checking
172 # -fallow-editor-placeholders
174 args += [ "-Wno-unknown-argument" ]
176 # Replace these two arguments with a version that clang-cl can parse.
178 "/clang:-fno-spell-checking",
179 "/clang:-fallow-editor-placeholders",
186 # Even if we provide a custom -fsanitize-ignorelist, the absence
188 # it within third_party/llvm-build, but for bindgen our cwd
193 args += [ "-fno-sanitize-ignorelist" ]