]> granicus.if.org Git - clang/commit
[libclang] Change clang_VirtualFileOverlay_writeToBuffer to return a malloc'ed buffer.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Mar 2014 06:38:52 +0000 (06:38 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Mar 2014 06:38:52 +0000 (06:38 +0000)
commit28b7261a1a98f2f5365f3891679c4a49c0109261
tree9f9bd168ae56d2c4a9a9ddba42bf97b71e52c632
parentbb8c08a065e3512fdd8d42d18571352359b87e74
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202675 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/BuildSystem.h
tools/libclang/BuildSystem.cpp
unittests/libclang/LibclangTest.cpp