Nico Weber
655af097a1
Fix a tiny test-only leak, found by LSan.
...
llvm-svn: 207137
2014-04-24 19:04:10 +00:00
Ben Langmuir
a56071c5fb
When writing YAML in libclang, use yaml::escape instead of write_escaped
...
The YAMLParser has its own escaped string representation, and does not
handle octal escape sequences. When writing the virtual file system to a
YAML file, use yaml::escape().
llvm-svn: 206443
2014-04-17 03:31: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
Dmitri Gribenko
8850cdad34
libclang: ensure clang_createTranslationUnit2 always initializes *TU
...
llvm-svn: 201657
2014-02-19 10:24:00 +00:00
Dmitri Gribenko
f85b929211
Add files that I forgot to svn add in 201578.
...
llvm-svn: 201579
2014-02-18 15:29:17 +00:00
Juergen Ributzka
c67c93d031
Revert "libclang: fix a bug in processing invalid arguments, introduced in r201249,"
...
Reverting commit (201346) for now, because it is breaking our internal builds.
llvm-svn: 201373
2014-02-13 23:34:54 +00:00
Dmitri Gribenko
fbe5672746
libclang: fix a bug in processing invalid arguments, introduced in r201249,
...
pointed out by Daniel Jasper in r201329
llvm-svn: 201346
2014-02-13 16:51:38 +00:00