Yaron Keren
45a5bfef44
Add clang_free to libclang to free memory allocated in libclang.
...
One of the problems libclang tests has running under Windows is memory
allocated in libclang.dll but being freed in the test executable, possibly
by a different memory manager. This patch exposes a new export function,
clang_free(), used to free any allocated memory with the same libclang.dll
memory manager that allocated the memory.
http://reviews.llvm.org/D10949
Reviewed by Reid Kleckner, Douglas Gregor.
llvm-svn: 241789
2015-07-09 07:53:23 +00:00
Benjamin Kramer
2f5db8b3db
Header guard canonicalization, clang part.
...
Modifications made by clang-tidy with minor tweaks.
llvm-svn: 215557
2014-08-13 16:25:19 +00:00
Justin Bogner
fb4e3f2f4e
clang-c: Fix a typo
...
llvm-svn: 207879
2014-05-02 22:37:02 +00:00
Argyrios Kyrtzidis
a9ab4d46bb
[libclang] Introduce clang_VirtualFileOverlay_setCaseSensitivity that exposes the VFS option
...
to set the case-sensitivity for lookups.
rdar://16374696
llvm-svn: 204303
2014-03-20 04:51:48 +00:00
Argyrios Kyrtzidis
d502a10c5e
[libclang] Introduce APIs that assist in constructing a simple module.map file for a user framework.
...
rdar://16092858
llvm-svn: 202681
2014-03-03 07:41:45 +00:00
Argyrios Kyrtzidis
74c96c0c75
[libclang] Change clang_VirtualFileOverlay_writeToBuffer to return a malloc'ed buffer.
...
Returning CXString is not appropriate if we want to switch to a non-string format buffer.
llvm-svn: 202675
2014-03-03 06:38:52 +00:00
Argyrios Kyrtzidis
0b9682efa4
[libclang] Introduce libclang APIs for creating a buffer with a JSON virtual file overlay description.
...
The current API only supports adding 'virtual file path' -> 'real file path' mappings.
rdar://15986708
llvm-svn: 202105
2014-02-25 03:59:23 +00:00
Argyrios Kyrtzidis
09a439d313
[libclang] Include "BuildSystem.h" along with "Index.h"
...
llvm-svn: 202104
2014-02-25 03:59:16 +00:00
Patrik Hagglund
55701d25ee
Fix gcc warning about C++ style comments.
...
llvm-svn: 201512
2014-02-17 11:54:08 +00:00
Dmitri Gribenko
fdd4f30f0e
'svn add' files I forgot for r201224 (Add an option to allow Clang verify
...
source files for a module only once during)
llvm-svn: 201225
2014-02-12 10:40:07 +00:00